Step 1/1: Date and time

date prints the time; date +FORMAT formats it: %Y year, %m month, %d day, %H:%M time, %F = %Y-%m-%d. Scripts use it to date files: backup-$(date +%F).tar.gz.

$ date +%F
Beginnerdate
Format the date
Use date to print only seconds since 1970.
hostnameNext lesson:cal