linux命令date的功能,Linux 命令date
1.命令名稱(Command Name):
data
2.命令作用(Command Function):
打印或設置系統日期和時間(print or set the system date and time)
3.命令描述(Command Description):
顯示當前時間在給定的格式,或設置系統日期。(?Display ?the current time in the given format, or set the system date.)
4.命令格式(Command Format):
date?[參數]...?[+格式]
5.命令參數(Command Parameters):
1.)-d,--date=string ?使用說明(Instructions for use):通過STRING描述的顯示時間,而不是“現在”(display time described by STRING, not ‘now’)
使用實例(Example):
顯示3天以前時間日期(Showing 3 days ago Date Time)
[root@moban oldboy]# date
Fri Aug 19 09:29:52 EDT 2016
[root@moban oldboy]# date --date='3 days ago'
Tue Aug 16 09:29:56 EDT 2016
2.)
總結
以上是生活随笔為你收集整理的linux命令date的功能,Linux 命令date的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 为什么计算机专业被称为宇宙机,量子计算机
- 下一篇: oracle数据库重建em,oracle