/ Published in: Bash
Expand |
Embed | Plain Text
b$ current_datetime=$(date '+%Y%m%d_%H%M%S') b$ echo $current_datetime 20080722_162914
You need to login to post a comment.
b$ current_datetime=$(date '+%Y%m%d_%H%M%S') b$ echo $current_datetime 20080722_162914
You need to login to post a comment.