注销命令linux,Linux 关机/重启/注销命令(7个)

关机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            #<==立马关机重启shutdown -r now     #<==现在重启

shutdown -r 23:20 & #<==23:20分重启,加&符号代表把该命令转到后台处理

reboot              #<==立马重启(推荐使用)

init 6              #<==立马重启(切换运行级别为6,推荐使用)注销logout              #<==立马注销

exit                #<==立马注销

在SecureCRT软件中,按快捷键:Ctrl + d    #<==推荐使用