重启:
su root 取得root权限,然后用"service 服务名 restart"来重启特定服务,重启整个系统则用"reboot"即可。
关闭:
halt
更改IP等:
ip:/etc/sysconfig/network-scipts/
dns:/etc/resolv.conf
网关:vi /etc/sysconfig/network
Vi:
wq q!
Linux常用命令 不断更新~~
最新推荐文章于 2025-02-23 16:29:50 发布