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:
xxxxxxxxxx
1
date +%s
Practical example:
xxxxxxxxxx
1
[root@localhost ~]# date +%s
2
1592518728
Screenshot:

- Bash - current timestamp - shows time getting with different units