Hacker News new | past | comments | ask | show | jobs | submit login

On UNIX likes systems*. Pro-tip: `watch -n 1 date +%s` will give you a live view of the timestamp



Oohhh, didn't know about watch, thanks! If you want it to count down instead:

$ watch -n1 'echo $((1500000000 - $(date +%s)))'


If you have an X server installed, you can also get a windowed unix time clock:

  xclock -utime -update 1


I tried this and noticed that you forgot -digital, which is apparently necessarily for -utime to have any effect.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: