mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
24 lines
393 B
Markdown
24 lines
393 B
Markdown
# cal
|
|
|
|
> Prints calendar information, with the current day highlighted.
|
|
|
|
- Display a calendar for the current month:
|
|
|
|
`cal`
|
|
|
|
- Display previous, current and next month:
|
|
|
|
`cal --three`
|
|
|
|
- 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}}`
|