Bash date timestamp

Bash timestamp with seconds.

$ date "+%Y-%m-%d_%H%M%S"
2014-09-22_173619

Comments

Leave a Reply