2017-05-01 14:17:01 +01:00
|
|
|
# cal
|
|
|
|
|
2024-02-14 17:25:58 -03:00
|
|
|
> Display a calendar with the current day highlighted.
|
2021-07-09 16:45:55 +02:00
|
|
|
> More information: <https://manned.org/cal>.
|
2017-05-01 14:17:01 +01:00
|
|
|
|
|
|
|
- Display a calendar for the current month:
|
|
|
|
|
|
|
|
`cal`
|
|
|
|
|
man, sudo, mount, file, curl, ps, seq, gdb, cat, upower, cal: add option placeholders (#15915)
2025-03-11 08:07:57 +02:00
|
|
|
- Display 3 months spanning the date:
|
2017-05-01 14:17:01 +01:00
|
|
|
|
man, sudo, mount, file, curl, ps, seq, gdb, cat, upower, cal: add option placeholders (#15915)
2025-03-11 08:07:57 +02:00
|
|
|
`cal {{[-3|--three]}}`
|
2017-05-01 14:17:01 +01:00
|
|
|
|
2025-03-17 23:17:57 +02:00
|
|
|
- Display the whole calendar for the current year:
|
2024-02-14 17:25:58 -03:00
|
|
|
|
man, sudo, mount, file, curl, ps, seq, gdb, cat, upower, cal: add option placeholders (#15915)
2025-03-11 08:07:57 +02:00
|
|
|
`cal {{[-y|--year]}}`
|
2024-02-14 17:25:58 -03:00
|
|
|
|
|
|
|
- Display the next twelve months:
|
|
|
|
|
man, sudo, mount, file, curl, ps, seq, gdb, cat, upower, cal: add option placeholders (#15915)
2025-03-11 08:07:57 +02:00
|
|
|
`cal {{[-Y|--twelve]}}`
|
2024-02-14 17:25:58 -03:00
|
|
|
|
2021-08-15 19:59:09 +02:00
|
|
|
- Use Monday as the first day of the week:
|
2017-05-01 14:17:01 +01:00
|
|
|
|
man, sudo, mount, file, curl, ps, seq, gdb, cat, upower, cal: add option placeholders (#15915)
2025-03-11 08:07:57 +02:00
|
|
|
`cal {{[-m|--monday]}}`
|
2017-05-01 14:17:01 +01:00
|
|
|
|
|
|
|
- Display a calendar for a specific year (4 digits):
|
|
|
|
|
|
|
|
`cal {{year}}`
|
|
|
|
|
|
|
|
- Display a calendar for a specific month and year:
|
|
|
|
|
|
|
|
`cal {{month}} {{year}}`
|