Skip to content

Instantly share code, notes, and snippets.

@alanvitor
Created August 19, 2021 18:39
Show Gist options
  • Save alanvitor/faebecc91ecd2f26e66df1186c107f29 to your computer and use it in GitHub Desktop.
Save alanvitor/faebecc91ecd2f26e66df1186c107f29 to your computer and use it in GitHub Desktop.
Bash command line uitilities
# current time in seconds (linux epoch)
date +%s
# get the seconds since some date
date -d "Aug 02 1992" +%s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment