shellsnippets
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
shellsnippets [2010/11/01 16:43] – old revision restored andi | shellsnippets [2012/12/16 11:28] (current) – [Set system date by time from webserver] 2001:6f8:1c1a:0:922b:34ff:fe18:7138 | ||
---|---|---|---|
Line 159: | Line 159: | ||
Sometimes you want to set the system date of Unix system to some sane value. You could do it manually or use some NTP client. The first idea is too much work ;-) and for the second one you need a time server and some client installed. But why not use the HTTP Response Header '' | Sometimes you want to set the system date of Unix system to some sane value. You could do it manually or use some NTP client. The first idea is too much work ;-) and for the second one you need a time server and some client installed. But why not use the HTTP Response Header '' | ||
- | #> date -s "`lynx -dump -head http:// | + | #> date -s "`curl -I http:// |
===== Backups with afio ===== | ===== Backups with afio ===== |
shellsnippets.1288629798.txt.gz · Last modified: 2010/11/01 16:43 by andi