Reputation
941
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
Badges
5 18 28
Impact
~381k people reached

Feb
15
comment How to force a clock update using ntp?
Eric, please see update #2 to the question.
Feb
15
comment How to force a clock update using ntp?
Stephan, please see update #2 to the question.
Feb
15
revised How to force a clock update using ntp?
added 1218 characters in body
Feb
14
comment How to force a clock update using ntp?
I tried changing rc.local accordingly, but then the clock won't update at all, even not from command line.
Feb
14
comment How to force a clock update using ntp?
Isn't ntpdate being phased out or something? Also, If I understand this correctly, the service runs and maintains the sync of the local clock to the server's clock - so the drift is bound. If you remove ntp and run ntpdate once, won't it be affected by clock drifting when the machine is on for extended periods?
Feb
14
comment How to force a clock update using ntp?
Thanks. Can you please explain why you need the explicit paths?
Feb
14
comment How to force a clock update using ntp?
Thanks. Please see my update to the question.
Feb
14
comment How to force a clock update using ntp?
Thanks. Please see my update to the question.
Feb
14
revised How to force a clock update using ntp?
added 404 characters in body
Feb
14
comment How to force a clock update using ntp?
Thanks. Still showing 1970 after this command (w/ sudo). Reading ntpd manpage, I am not sure how this forces an update?
Feb
13
comment How to force a clock update using ntp?
When trying from command line, I get the following response: 1 Jan 00:04:11 ntpdate[2226]: the NTP socket is in use, exiting . However, I think that I tried this before in rc.local but it did not help.
Feb
13
asked How to force a clock update using ntp?
Jan
23
awarded  Notable Question
Jan
17
awarded  Notable Question
Jan
14
awarded  Popular Question
Jan
12
accepted How to tell which packages are available to install using apt-get?
Jan
11
asked How to tell which packages are available to install using apt-get?
Jan
2
awarded  Teacher
Dec
23
answered How to diff multiple files across directories?
Dec
23
comment How to diff multiple files across directories?
I think that of the two great answers, this on is more straight forward when there are multiple file types (although I mentioned in the question that I'm looking for a no-loops solution), so I accepted it. The one addition added is echo "${file##*/}"; before the diff command, so one knows what files are actually being compared. Also, as mentioned in @Rinzwind's answer, this method does not cover the case were the file list is not exactly the same in both directories.