開關(guān)機
init命令 | systemctl命令 | 備注 |
---|---|---|
init 0 | systemctl poweroff | 關(guān)機 |
init 6 | systemctl reboot | 重啟 |
init其他數(shù)字的意義
init命令 | 備注 |
---|---|
1 | 單用戶形式丑念,只root進(jìn)行維護(hù) |
2 | 多用戶涡戳,不能使用net file system |
3 | 完全多用戶 |
4 | (沒有用到) |
5 | 圖形化 |
init命令 | systemctl命令 | 備注 |
---|---|---|
init 0 | systemctl poweroff | 關(guān)機 |
init 6 | systemctl reboot | 重啟 |
init命令 | 備注 |
---|---|
1 | 單用戶形式丑念,只root進(jìn)行維護(hù) |
2 | 多用戶涡戳,不能使用net file system |
3 | 完全多用戶 |
4 | (沒有用到) |
5 | 圖形化 |