How to set date & time in unix
Page 1 of 1 • Share •
How to set date & time in unix
Description To set date & time in unix
#date
Output: Mon Jan 12 16:27:00 IST 2004
Only the superuser or root user may set the date.
General format of date command is as follows:
Eg: Mon Jan 12 16:27:00 IST 2004
Eg: date mmddhhmmsyy
Where,
* mm : Month (1-12)
* dd : Day (1-31)
* hh : Hours (0..23)
* mms : Minutes
* yy : Year in two digit
#date 0112162704
#date
Output: Mon Jan 12 16:27:00 IST 2004
Only the superuser or root user may set the date.
General format of date command is as follows:
Eg: Mon Jan 12 16:27:00 IST 2004
Eg: date mmddhhmmsyy
Where,
* mm : Month (1-12)
* dd : Day (1-31)
* hh : Hours (0..23)
* mms : Minutes
* yy : Year in two digit
#date 0112162704
Bala- Admin
- Number of posts: 22
Registration date: 2007-12-17

Permissions of this forum:
You cannot reply to topics in this forum













» Squid http_port 8080
» rm and tar commands are slow
» Problems in sending and receiving of email....
» unable to login Yahoo Messenger
» How to monitor RSH commands
» windows system32 config system is corrupt in Windows Server
» how to grant a normal user the root right?
» Training Materials