LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > Ztcoracat
User Name
Password

Notices


Rate this Entry

How to fix the Clock in Slackware

Posted 01-12-2016 at 08:14 AM by Ztcoracat

Many times I have tried fixing the clock in Slackware and for some reason timeconfig didn't work for me at all.

I found a way to fix the clock and it works everytime the clock is wrong.-

Open the terminal as root and run these commands one at a time.

Code:
# date -s "12:00:00"
Code:
ntpdate time.nist.gov
Finally to make the new set right time permanent also for the BIOS battery clock issue:
Code:
# hwclock --systohc
Cheers,
Ztcoracat
Posted in Uncategorized
Views 3848 Comments 2
« Prev     Main     Next »
Total Comments 2

Comments

  1. Old Comment
    Thank you for the info
    Posted 01-12-2016 at 08:02 PM by sinar.kk sinar.kk is offline
  2. Old Comment
    Quote:
    Originally Posted by sinar.kk View Comment
    Thank you for the info
    You're Welcome:-
    Posted 01-13-2016 at 02:26 PM by Ztcoracat Ztcoracat is offline
 

  



All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration