Ubantu 好玩以及有用的命令

1.cowsay 图像  

  Dell:~$ sudo apt-get install cowsay

  Dell:~$ cowsay -f elephant-in-snake 00

  Dell:~$ cowsay -f gnu oo

2.给root设密码

  @Dell:~$ sudo passwd root

3.定时关机

  shutdown -k now 'Hey! Go away! ' 发出警告讯息, 但没有真的关机 

  shutdown -h 10:42 'Hey! Go away!' 10:42 分关机

  时间参数务必要加: 不是用 now, 便是用 hh:mm 或 mm 

以后遇到再补充

posted @ 2015-11-07 23:45  Uhey  阅读(305)  评论(0)    收藏  举报