1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/openbsd/cal.md
Vitor Henrique 832eed84d5
cal: improve util-linux page and split POSIX, osx and *BSD (#12172)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-02-14 21:25:58 +01:00

32 lines
560 B
Markdown

# cal
> Display a calendar with the current day highlighted.
> More information: <https://man.openbsd.org/cal>.
- Display a calendar for the current month:
`cal`
- Display a calendar for a specific year:
`cal {{year}}`
- Display a calendar for a specific month and year:
`cal {{month}} {{year}}`
- Display a calendar for the current [y]ear:
`cal -y`
- Display [j]ulian days (starting from one, numbered from January 1):
`cal -j`
- Use [m]onday as week start instead of Sunday:
`cal -m`
- Number [w]eek numbers (incompatible with `-j`):
`cal -w`