Friday, June 1, 2012

Setting Date & Time on Linux From Command Line

Article: http://www.cyberciti.biz/faq/howto-set-date-time-from-linux-command-prompt/

To set time:
date +%T -s "10:13:13"

To set date & time:
date -s "2 OCT 2006 18:00:00"

No comments:

Post a Comment