Quantcast
Channel: Tips4Linux.com » clock
Viewing all articles
Browse latest Browse all 2

Set the clock from the Linux command line

0
0

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.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images