天天看點

/etc/issue、shutdown練習

1、字元終端登入時,顯示目前終端,主機名和目前時間;

    ①vim /etc/issue

    ②添加以下三行

        the termical is \l

        the hostname is \n

        the times is \d \t

    ③在本地終端檢視

2、今天18:30自動關機;

    shutdown -h 18:30;

      本文轉自wzcLINUXER 51CTO部落格,原文連結:http://blog.51cto.com/yacheng0316/1949401,如需轉載請自行聯系原作者