linux常用命令~系统和关机

shutdown -h now 关闭系统(1)
init 0 关闭系统(2)
telinit 0 关闭系统(3)
shutdown
-h hours:minutes & 按预定时间关闭系统 shutdown -c 取消按预定时间关闭系统
shutdown
-r now 重启(1) reboot 重启(2)
logout 注销 time 测算一个命令(即程序)的执行时间

 

posted @ 2021-12-19 22:28  Vincent-yuan  阅读(136)  评论(0编辑  收藏  举报