How to change the system time from shell
Some times we need to change the system time from shell cause we only have ssh access, so to do this we have first to have the shell access or open and the tipe this:
sudo date 032411002010.00
Where it means: March 24th 2010 11:00:00
The first 4 numbers are the month and the day (0324 – March 24th)
The follow 4 number are the time (1100 11:00 Hrs.)
The follow 4 number are the year (2010)
and the last 2 number are the seconds (00)
Advertisement
Explore posts in the same categories: Linux, server