2、Linuxの基礎演習

タイトル

2、Linuxの基礎演習

答え

1つの答え
[root@centos7 ~]# date +'%F %T'
2019-07-23 10:21:35
2、答え
[root@centos7 ~]# date +%A -d '-2 days'
星期日
3、答え
[root@centos7 ~]# date -s '2019-08-07 06:05:10'
2019年 08月 07日 星期三 06:05:10 CST

4、答え

表示の問題は、manページで助け、その後、表示またはagettyではにmingettyヘルプ
  • MOTD情報は、ログイン後に表示され、着陸前にプロンプ​​トを発行
[root@centos7 ~]# cat /etc/issue
current terminel:\l
current time:\t
current hostname:\s
\S
Kernel \r on an \m
ディスプレイ:

2、Linuxの基礎演習

5、答え

ヘルプのシャットダウン
[root@centos7 ~]# shutdown 18:30 "今天18:30系统自动关机"
Shutdown scheduled for 三 2019-08-07 18:30:00 CST, use 'shutdown -c' to cancel.

おすすめ

転載: blog.51cto.com/14012942/2422696