EN
Linux / Bash - print current Unix time in seconds
4
points
In this short article we would like to show how to print in Linux unix time in seconds.
Quick example:
date +%s
Practical example:
[root@localhost ~]# date +%s
1592518728
Screenshot:
See also
- Bash - current timestamp - shows time getting with different units