Linux

Categorized | System, cli

Set the clock from the Linux command line

If you want to set the date from the Linux command line, you can use the date command:

sudo date nnddhhmmyy

where
nn is the month
dd is the day
hh is the hour
mm is the minute
yy is the year

For example, date 080717292009 would set the date to August the 7th, 17:29, 2009.

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


Hi, Be the first leave some reply

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>