December 23rd, 2009
4:34 pm
How to set the Date and Time in Linux

Posted under Linux
Tags ,

Enter one or more of the following from a terminal (shell) prompt :-

# date set="2 OCT 2006 18:00:00"
# date -s "2 OCT 2006 18:00:00"
# date +%T -s "10:13:13"

 

See here for more examples

Comments Off on How to set the Date and Time in Linux

Comments are closed.