Hands-on task
This task is step 1 of the course “Dates and times in the terminal”
Today's date in ISO format
Write today's date to the file /root/today.txt in YYYY-MM-DD format (for example, 2025-03-08) — a single line, no time.
Reference:date
What you'll practise:
- date
- date format
- %F
- ISO 8601