Saturday, 16 April 2016

How to change the current date in Linux ?


Example
Set current date to 2 Oct 2006 18:15:00

Switch to root user and Type the following command as root user :
# date -s "2 OCT 2006 18:15:00"

No comments:

Post a Comment

Note: only a member of this blog may post a comment.