ip addr # 查看ip
systemctl stop firewalld # 临时关闭防火墙
systemctl disable firewalld # 禁止开机启动
systemctl enable postfix.service #开机启动
修改hostname有单独的文件 vi /etc/hostname,6在 /etc/sysconfig/network中
cat /etc/centos-release #查看操作系统版本
systemctl list-unit-files #查看开机启动项,用回车键翻页,按q退出
systemctl list-unit-files|grep enabled #已启动的服务列表
systemctl #正在运行的服务
- ビューのディスク使用量にDFの-h