Skip to content

Instantly share code, notes, and snippets.

@therealechan
Last active June 22, 2016 03:26
Show Gist options
  • Save therealechan/a9f0538c83da3bf9597e2a9abd0248d3 to your computer and use it in GitHub Desktop.
Save therealechan/a9f0538c83da3bf9597e2a9abd0248d3 to your computer and use it in GitHub Desktop.
Linux : Add x seconds to the current date
  • add 5 seconds to the current time: $ date -s "5 seconds"
  • minus 5 seconds to the current time: $ date -s "5 seconds ago"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment