天天看点

/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,如需转载请自行联系原作者