Linux常用命令

查看系统

uname -a

查看进程

netstat -anp|more

启动nginx

systemctl start nginx

重启nginc 服务

systemctl restart nginx

启动mysql

systemctl start mysqld

重启mysql

systemctl reload mysqld

设置开机自启

systemctl enable nginx

你可能感兴趣的:(Linux常用命令)