cal
Quick Reference
Command Name:
cal
Category:
file management
Platform:
Linux/Unix
Basic Usage:
Common Use Cases
- 1
Calendar display
Display calendar for current month or specified date range
- 2
Date planning
Plan events and appointments using calendar view
- 3
System administration
Check dates for system maintenance and scheduling
- 4
Script automation
Use calendar data in automated scripts and workflows
Syntax
cal [OPTION]... [FILE]...
Options
| Option | Description |
|---|---|
-l |
Use a long listing format |
-a |
Show hidden entries starting with . |
-h |
Human-readable sizes |
-R |
List subdirectories recursively |
Examples
How to Use These Examples
The examples below show common ways to use the cal command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.