關機:(系統的關機、重啟以及登出 )
# 關閉系統(1)
[root@localhost ~]# shutdown -h now
# 關閉系統(2)
[root@localhost ~]# init 0
# 關閉系統(3)
[root@localhost ~]# telinit 0
# 按預定時間關閉系統
[root@localhost ~]# shutdown -h hours:minutes
# 取消按預定時間關閉系統
[root@localhost ~]# shutdown -c
# 重啟(1)
[root@localhost ~]# shutdown -r now
# 重啟(2)
[root@localhost ~]# reboot
# 登出
[root@localhost ~]# logout
CentOS 7常用命令
在開發中常用的一些命令。1 目錄切換 2 對目錄的操作 3 對檔案的操作 4 檔案的壓縮 解壓 5 許可權的操作 6 防火牆及埠管理 7 網路配置 8 系統資訊檢視 9 一些其他的命令 執行以下命令時需要注意自己對應系統的版本,不同的版本會稍有差別。cd 切換到根目錄 cd 切換到使用者跟目錄 cd...
CentOS 7常用命令
在開發中常用的一些命令。1 目錄切換 2 對目錄 資料夾 的操作 3 對檔案的操作 4 檔案的壓縮 解壓 5 軟體的安裝 6 許可權的操作 7 防火牆埠的開啟 8 一些其他的命令 執行以下命令時需要注意自己對應系統的版本,不同的版本會稍有差別。cd 切換到根目錄 cd 切換到使用者跟目錄 cd 切換...
Centos7常用命令
檢視服務狀態 systemctl status networkmanager network 停止服務 systemctl stop networkmanager 啟動服務 systemctl start networkmanager 禁止服務開機啟動 systemctl disable netwo...