Linux command
jcal 命令
趣味
复制后可按需替换文件名、目录或参数。
常用示例
Display current month
jcal
Display three months
jcal -3
Display specific year
jcal [1402]
Display specific month and year
jcal [5] [1402]
Display full year
jcal -y
Display with Farsi numbers and names
jcal -p
Display with English weekday names
jcal -e
说明
jcal displays a calendar in the Jalali (Persian) format, similar to Unix cal for Gregorian calendars. The Jalali calendar is a solar calendar used in Iran and Afghanistan. Part of the jcal/libjalali package. Current day is highlighted. A single parameter specifies the year (1-9999). Two parameters denote the month (1-12) and year. The year must be fully specified: "jcal 90" will not display a calendar for 1390.
参数
- -1
- Display single month (default).
- -3
- Display previous, current, and next month.
- -y
- Display entire year.
- -j
- Display Julian days (days numbered from Farvardin 1).
- -p
- Display Farsi numbers and names.
- -P
- Display year based on Pahlavi epoch.
- -e
- Display English names for weekdays.
- -V
- Display version.
FAQ
What is the jcal command used for?
jcal displays a calendar in the Jalali (Persian) format, similar to Unix cal for Gregorian calendars. The Jalali calendar is a solar calendar used in Iran and Afghanistan. Part of the jcal/libjalali package. Current day is highlighted. A single parameter specifies the year (1-9999). Two parameters denote the month (1-12) and year. The year must be fully specified: "jcal 90" will not display a calendar for 1390.
How do I run a basic jcal example?
Run `jcal` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -1 do in jcal?
Display single month (default).