liunx 命令记录
1、启动ng
sudo systemctl start nginx
2、查看ng状态
sudo systemctl status nginx
3、查看ng状态
sudo systemctl restart nginx
3、查看ng 当前状态
sudo systemctl enable nginx
4、查看当前开启的端口
netstat -lnpt
5、yum源中查看 包含的软件
yum list available | grep package_name
6、查看系统版本
cat /etc/os-release
7、查看系统基本情况
uname -a