mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 09:42:07 +02:00

Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
32 lines
539 B
Markdown
32 lines
539 B
Markdown
# cal
|
|
|
|
> Display a calendar with the current day highlighted.
|
|
> More information: <https://manned.org/cal>.
|
|
|
|
- Display a calendar for the current month:
|
|
|
|
`cal`
|
|
|
|
- Display [3] months spanning the date:
|
|
|
|
`cal -3`
|
|
|
|
- Display the whole calendar for the current [y]ear:
|
|
|
|
`cal --year`
|
|
|
|
- Display the next twelve months:
|
|
|
|
`cal --twelve`
|
|
|
|
- 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}}`
|