Linux Commands | Misc | cal View Calendar
cal Command
cal is short for calendar.
You can view calendars from year 1 AD through year 9999.
If you provide only one argument, that number is treated as the year.
If you provide two numbers, the first is treated as the month and the second as the year.
Usage
cal [-jy] [ [month] year]
Options
- -j: Displays Julian dates, counting days from January 1.
- -y: Displays the calendar for the current year.
cal Command Examples
Example 1
$ cal
3월 2019
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Example 2
$ cal -j
3월 2019
일 월 화 수 목 금 토
60 61
62 63 64 65 66 67 68
69 70 71 72 73 74 75
76 77 78 79 80 81 82
83 84 85 86 87 88 89
90