-
关机
1
2
3
4
5
6
7
8
|
shutdown
-h 0
#<==O秒后关机
shutdown
-h now
#<==现在关机
shutdown
-h 10
#<==10分钟后关机
shutdown
-h 23:20
#<==23:20分关机
shutdown
-c
#<==取消shutdown关机命令
init 0
#<==立马关机(切换运行级别为0,推荐使用)
halt
#<==立马关机
poweroff
#<==立马关机
|
-
重启
1
2
3
4
|
shutdown
-r now
#<==现在重启
shutdown
-r 23:20 &
#<==23:20分重启,加&符号代表把该命令转到后台处理
reboot
#<==立马重启(推荐使用)
init 6
#<==立马重启(切换运行级别为6,推荐使用)
|
-
注销
1
2
3
|
logout
#<==立马注销
exit
#<==立马注销
在SecureCRT软件中,按快捷键:Ctrl + d
#<==推荐使用
|