cal (displays a calendar)
Displays a one-month calendar of the current month.
Format: cal Examples: cal
Opt | What It Does | Example |
---|---|---|
-j | Display Julian dates |
cal -j (dates are 1-365) |
-m | Display calendar with Monday as first day of week | cal -m |
-y | Display calendar of year | cal -y |
Get Spring Into Linux® now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.