美文网首页
2019-08-19

2019-08-19

作者: 留白_bb77 | 来源:发表于2019-08-19 23:45 被阅读0次

整改意见:ps-ef|grepsshd|grep-v"grep"
ps -ef|grep sshd

ps -ef:打开所有的进程

grep sshd:过滤出含有“sshd”字符的进程。

grep 是查找含有指定文本行的意思,比如grep test 就是查找含有test的文本的行

grep -v 是反向查找的意思,比如 grep -v grep 就是查找不含有 grep 字段的行

相关文章

网友评论

      本文标题:2019-08-19

      本文链接:https://www.haomeiwen.com/subject/etbysctx.html