Languages
[Edit]
EN

Linux / Bash - print current Unix time in seconds

4 points
Created by:
Marcin
2544

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:

Unix date in seconds example - Linux with Bash
Unix date in seconds example - Linux with Bash
Native Advertising
50 000 ad impressions - 449$
🚀
Get your tech brand or product in front of software developers.
For more information contact us:
Red dot
Dirask - friendly IT community for everyone.

❤️💻 🙂

Join