Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
get current timestamp shell
Y Narasimha Reddy
Programming language:
Shell/Bash
2021-06-14 21:08:11
0
Q:
get current timestamp shell
Jamie Butterworth
Code:
Shell/Bash
2021-03-06 07:38:25
// If you want to get unix timestamp, then you need to use: timestamp=$(date +%s)
1
Tags
get
shell
time
Related
shell script current time
timestamp zsh terminal
convert log file with unix timestamp
bash get timestamp
New to Communities?
Join the community