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

Posted: March 25, 2012. At: 5:54 PM. This was 6 years ago. Post ID: 2982
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

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