Re:Countdown to timestamp 1,500M
by mkmk on Thursday July 13, 2017 @05:44PM
(#14765544)
On a mac, you can keep track by opening the terminal and running the command "date +%s" (no quotes).
[ Parent
| on HN ]
To see the countdown, you can use:
while true; do echo $((1500000000 - `date +"%s"`)); sleep 1; doneSleep 1 means that you could miss it, as the loop will take >1 second to run (the fork isn't instantaneous)
Re:Countdown to timestamp 1,500M
by denysonique on Thursday July 13, 2017 @05:48PM
(#14765578)
On UNIX likes systems*. Pro-tip: `watch -n 1 date +%s` will give you a live view of the timestamp
Re:Countdown to timestamp 1,500M
by butisaidsudo on Thursday July 13, 2017 @06:09PM
(#14765733)
Oohhh, didn't know about watch, thanks! If you want it to count down instead:
$ watch -n1 'echo $((1500000000 - $(date +%s)))'
Re:Countdown to timestamp 1,500M
by sbierwagen on Thursday July 13, 2017 @05:54PM
(#14765625)
If you have an X server installed, you can also get a windowed unix time clock:
xclock -utime -update 1I tried this and noticed that you forgot -digital, which is apparently necessarily for -utime to have any effect.
while true; do date +%s; sleep 1; done