Linux Journal | Linux Tips
Bits and pieces of Linux tips, tricks and problem resolutions
Sunday, April 17, 2005
The date command - setting the date
date MMDDHHmmYYYY
example:
root# date 041511242005 <------ command entered
Fri April 15 11:24:00 EDT 2005 <------- output
This syncs the hardware and software clocks:
hwclock --set --date="`date '+%m/%d/%y %H:%M:%S'`"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment