Back
In Linux or MacOS you can use:
date +%s
where
Example output now 1454000043.+%s, seconds since 1970-01-01 00:00:00 UTC. (GNU Coreutils 8.24 Date manual)
Example output now 1454000043.
To know about Linux join the Linux training
Do check out the video below
31k questions
32.8k answers
501 comments
693 users