Home » 2010 » November » 18

Daily Archives: November 18, 2010

Set date time on Linux Ubuntu via command line


Sometime we need to set our linux date time without having touch the desktop. We can do it via remote ssh / telnet.

Syntax :

#date mmddhhyyyy.ss

For instance, to set the date/time for May 19th, 2007, 6:00pm (and 0 seconds), you would type:

#date 051918002007.00

Now you can set date time via command line.