linux如何查看date的man页,@linux man page 使用指南

DATE(1) User Commands DATE(1)

# 请注意上面这个括号内的数字

NAME <==这个命令的完整全名,如下所示为date且说明简单用途为配置与显示日期/时间

date - print or set the system date and time

SYNOPSIS <==这个命令的基本语法如下所示

date [OPTION]... [+FORMAT]

date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]

DESCRIPTION <==详细说明刚刚语法谈到的选项与参数的用法

Display the current time in the given FORMAT, or set the system

date.

-d, --date=STRING <==左边-d为短选项名称,右边--date为完整选项名称

display time described by STRING, not 'now'

-f, --file=DATEFILE

like --date once for each line of DATEFILE

-r, --reference=FILE

display the last modification time of FILE

....(中间省略)....

# 找到了!底下就是格式化输出的详细数据!

FORMAT controls the output. The only valid option for the second

form specifies Coordinated Universal Time. Interpreted sequences

are:

%% a literal %

%a locale's abbreviated weekday name (e.g., Sun)

%A locale's full weekday name (e.g., Sunday)

....(中间省略)....

ENVIRONMENT <==与这个命令相关的环境参数有如下的说明

TZ Specifies the timezone, unless overridden by command line

parameters. If neither is specified, the setting from

/etc/localtime is used.

AUTHOR <==这个命令的作者啦!

Written by David MacKenzie.

REPORTING BUGS <==有问题请留言给底下的email的意思!

Report bugs to .

COPYRIGHT <==受到著作权法的保护!用的就是 GPL 了!

Copyright ? 2006 Free Software Foundation, Inc.

This is free software. You may redistribute copies of it under the

terms of the GNU General Public License

. There is NO WARRANTY, to

the extent permitted by law.

SEE ALSO <==这个重要,你还可以从哪里查到与date相关的说明文档之意

The full documentation for date is maintained as a Texinfo manual.

If the info and date programs are properly installed at your site,

the command

info date

should give you access to the complete manual.

date 5.97 May 2006 DATE(1)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值