我的笔记:
[root@localhost root]#date
[root@localhost root]#date +%y/%m/%d
[root@localhost root]#date +%h:%m
[root@localhost root]#cal
[root@localhost root]#cal [month] [year]
for example:
[root@localhost root]#cal 9 2007
[root@localhost root]#bc
[root@localhost root]#bc
scale=6(小数点的位数)
quit
[root@localhost root]#man [command] (解释说明)
[root@localhost root]#info [command](同上)
[root@localhost root]#sync( 关机前的存档)
[root@localhost root]#shutdown -h now 立刻关机,其中 now 相当于时间为 0 的状态
[root@localhost root]#shutdown -h 20:25 系统在今天的 20:25 分会关机
[root@localhost root]#shutdown -h +10 系统再过十分钟后自动关机
[root@localhost root]#shutdown -r now 系统立刻重新开机
[root@localhost root]#shutdown -r +30 'The system will reboot'
再过三十分钟系统会重新开机,并显示后面的讯息。
[root@localhost root]#shutdown -k now 'This system will reboot'
仅发出警告信件的参数!系统并不会关机啦。

