1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 20:17:57 +01:00
tldr/pages/osx/cal.md
2019-01-27 10:19:38 +05:30

31 lines
519 B
Markdown

# cal
> Prints calendar information.
- Display a calendar for the current month:
`cal`
- Display previous, current and next month:
`cal -3`
- Display a calendar for a specific month (1-12 or name):
`cal -m {{month}}`
- 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}}`
- Display date of Easter (Western Christian churches) in a given year:
`ncal -e {{year}}`