Linux 命令汇总(持续汇总。。。)

阅读 126

2022-04-03

1.ping 命令 检查网络连通性

2.检查CentOS的版本

cat /etc/redhat-release

3.通过网络下载文件

wget

4.可执行文件脚本

./install.sh

5.在线单个安装某个软件

yum -y install xxxx

6.检查Apache的服务是否运行

systemctl status httpd

7.检查mysql的服务是否运行

systemctl status mysql

8.检查php是否已安装

php -v

9.查看Nginx的服务是否运行

systemctl status nginx

精彩评论(0)

0 0 举报