cents 7.0命令

常用命令

centos7的網卡重啓方法:systemctl restart network

關閉防火牆:  systemctl stop firewalld.service

禁止開機啓動:  systemctl disable firewalld.service

開啓 sshd 服務: systemctl restart sshd

查看版本:cat /etc/redhat-release

配置環境變量後,立刻生效:source /etc/profile
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章