6
Linux常用命令-102:cal
source link: https://xugaoxiang.com/2022/09/22/linux-cmds-102-cal/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
cal
命令用来显示当前日历,是 calendar
的缩写。
语法格式:cal [参数] [月份] [年份]
常用参数:
# 默认显示当月日历
cal
# 显示最近三个月的日历
cal -3
# 显示当年的日历
cal -y
# 显示特定年月的日历,如2011年11月
cal 11 2021
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK