How to set the correct time with the command-line on Debian.

Posted: March 25, 2012. At: 5:54 PM. This was 5 years ago. Post ID: 2982

Setting the system time with Debian Linux is very simple, using the date command, you may display the current date/time, then copy this to the date -s “” command and then edit it to the proper value. This is the easiest technique to set the Linux system time.

[email protected]:/home/neo# date
Sun Mar 25 06:43:17 EST 2012
[email protected]:/home/neo# date -s "Sun Mar 25 17:43:17 EST 2012"
Sun Mar 25 17:43:17 EST 2012
[email protected]:/home/neo# 

No comments have been made. Use this form to start the conversation :)

Leave a Reply