I rarely ever use the date
command, but when I need it I almost always struggle to get the right incantation. So, wrote a blog post for easy reference.
Do you use a cheatsheet as well?
I rarely ever use the date
command, but when I need it I almost always struggle to get the right incantation. So, wrote a blog post for easy reference.
Do you use a cheatsheet as well?
date
is the command for setting the system date and time from the command line. Nothing to do with formatting, beyond the fact that it presumably applies system locale settings when echoing date-time info.$ whatis date
date (1) - print or set the system date and time