tldr/pages/linux/cal.md

25 lines
434 B
Markdown
Raw Normal View History

# cal
> Prints calendar information, with the current day highlighted.
> More information: <https://manned.org/cal>.
- Display a calendar for the current month:
`cal`
2017-11-19 04:09:05 +00:00
- Display previous, current and next month:
2019-01-27 04:49:38 +00:00
`cal -3`
- Use Monday as the first day of the week:
`cal --monday`
- Display a calendar for a specific year (4 digits):
`cal {{year}}`
- Display a calendar for a specific month and year:
`cal {{month}} {{year}}`