ITeye博客

linux第五章

gagi · 2010-08-04 17:58 · linux · 操作系统 · Markdown

1、日期命令date

[root@www~]date
[root@www~]date +%Y/%m/%d

 

 

2、日历命令

[root@www~]cal
[root@www~]cal 2010
[root@www~]cal 10 2010

 

3、计算器

[root@www~]bc 

    如果要输出小数步骤如下

 

[root@www~]bc
[root@www~]scale=3    #3只能够输出3位小数

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。