linux基础指令的操作
date,cal,bc
date:系统时间
[root@localhost Desktop]# date
Sun Apr 10 06:44:12 PDT 2016
格式化date
%Y: year
%m: month
%d: day
%H: hour
%M: minute
%s: seconds since 1970-01-01 00:00:00 UTC
%S: second (00..60)
cal: 日历
[root@localhost Desktop]# cal
April 2016
Su Mo Tu We Th Fr Sa
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
cal语法: cal [month] [year]
[root@localhost Desktop]# cal 4 2016
April 2016
Su Mo Tu We Th Fr Sa
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
bc:计算器
+ - * / ^ %
推出:quit