Linux命令

36 阅读1分钟
启动服务
systemctl start rabbitmq-server

systemctl restart

systemctl stop

搜索文件夹

ps -ef | grep rabbitmq

whereis rabbitmq

whatportis mysql --like

查看服务

ps -ef | grep redis

定进程id

ps -u root(系统用户名)

linux的进程目录/proc,执行ls -l ,并对应的进程目录