How To Change Time In Linux Server?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Log into your Linux server via SSH as the root user.
2. Type the command “date” to view the current date and time.
3. To change the time, type “date MMDDhhmmYYYY.ss” with the correct date and time information.
4. To set the timezone, type “tzselect” and follow the on-screen instructions.
5. To save your changes, type “hwclock –w”.
6. To verify that the changes were successful, type “date” again to view the updated date and time.