mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
24 lines
381 B
Markdown
24 lines
381 B
Markdown
![]() |
# cal
|
||
|
|
||
|
> Prints calendar information, with the current day highlighted.
|
||
|
|
||
|
- Display a calendar for the current month:
|
||
|
|
||
|
`cal`
|
||
|
|
||
|
- Use monday as the first day of the week:
|
||
|
|
||
|
`cal -m`
|
||
|
|
||
|
- Display a calendar for the current year:
|
||
|
|
||
|
`cal -y`
|
||
|
|
||
|
- Display a calendar for a specific year (4 digits):
|
||
|
|
||
|
`cal {{year}}`
|
||
|
|
||
|
- Display a calendar for a specific month and year:
|
||
|
|
||
|
`cal {{month}} {{year}}`
|