Unix set date and time command

To set date and time use date command with -s parameter

date -s "02/13/2013 17:52:04"

To list the date and time of the server use date command without parameters

date

Did my HOW TO help you? Leave a reply.

Leave a Reply