tldr/pages/common/calendar.md

21 lines
477 B
Markdown
Raw Normal View History

2020-10-17 02:27:07 +01:00
# calendar
> Display upcoming events from a calendar file.
> More information: <https://www.commandlinux.com/man-page/man1/calendar.1.html>.
2020-10-17 02:27:07 +01:00
- Show events for today and tomorrow (or the weekend on Friday) from the default calendar:
`calendar`
2020-10-17 02:27:07 +01:00
- Look [A]head, showing events for the next 30 days:
2020-10-17 02:27:07 +01:00
2020-10-17 02:27:07 +01:00
`calendar -A {{30}}`
2020-10-17 02:27:07 +01:00
- Look [B]ack, showing events for the previous 7 days:
2020-10-17 02:27:07 +01:00
`calendar -B {{7}}`
2020-10-17 02:27:07 +01:00
2020-10-17 02:27:07 +01:00
- Show events from a custom calendar [f]ile:
2020-10-17 02:27:07 +01:00
2020-10-17 02:27:07 +01:00
`calendar -f {{path/to/file}}`