Skip to content

Instantly share code, notes, and snippets.

@smijar
Created May 22, 2017 19:39
Show Gist options
  • Save smijar/8084342d36fd9571b845fb52b3e3e36e to your computer and use it in GitHub Desktop.
Save smijar/8084342d36fd9571b845fb52b3e3e36e to your computer and use it in GitHub Desktop.
bash echo date with time
echo `date "+%Y-%m-%d-%H-%M-%S"`
# outptut - 2017-05-22-14-38-18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment