Posted By

micmath on 01/10/07


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


Update Linux Date

 / Published in: Bash

Obviously, use a time server close to where you are. The first line updates the System Time, the second sets the Hardware Clock to the current System Time.

  1. /usr/sbin/ntpdate
  2. hwclock --systohc

Report this snippet  

You need to login to post a comment.