linux命令

查看端口进程

netstat -tunlp|grep 端口

kill -9 [pid] 杀掉进程

linux搜索历史命令:history grep 'nginx'

根据进程名杀掉进程

ps -aux|grep etcd|wak '{print $1}'|xargs kill

等待sleep

posted @ 2021-05-08 20:22  刘兵博客  阅读(27)  评论(0编辑  收藏  举报