寵物展會2025年時間表
873
2022-05-29
ECS信息
規格:2vCPUs | 4GiB | kc1.large.2
鏡像:openEuler 20.03 64bit with ARM | 公共鏡像
linux date 查看系統時間與使用參數生成時間戳
# date Sat Oct 2 21:53:40 CST 2021
# date "+%Y%m%d-%H%M%S" 20211002-215830
%Y year
%m month (01…12)
%d day of month (e.g., 01)
%H hour (00…23)
%M minute (00…59)
%S second (00…60)
# touch $(date "+%Y%m%d-%H%M%S").txt # ll total 0 -rw------- 1 root root 0 Oct 2 22:02 20211002-220229.txt
幫助文檔(部分)
# date --help Usage: date [OPTION]... [+FORMAT] or: date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]] Display the current time in the given FORMAT, or set the system date. Mandatory arguments to long options are mandatory for short options too. -d, --date=STRING display time described by STRING, not 'now' --debug annotate the parsed date, and warn about questionable usage to stderr -f, --file=DATEFILE like --date; once for each line of DATEFILE -I[FMT], --iso-8601[=FMT] output date/time in ISO 8601 format. ......部分截取
學習資料
彈性云服務器 ECS
openEuler-官網
openEuler-B站
openEuler-慕課
openEuler-文檔
鯤鵬社區
歡迎各位同學一起來交流學習心得^_^
Linux openEuler
版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。