1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 22:22:18 +02:00
tldr/pages/linux/cal.md
2021-08-15 19:59:09 +02:00

24 lines
434 B
Markdown

# cal
> Prints calendar information, with the current day highlighted.
> More information: <https://manned.org/cal>.
- Display a calendar for the current month:
`cal`
- Display previous, current and next month:
`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}}`