Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ相关的知识,希望对你有一定的参考价值。

问题:

Warning: bad syntax, perhaps a bogus ‘-‘? See /usr/share/doc/procps-3.2.8/FAQ

解决:

[[email protected] ~]# ps -xf |grep "autodiscovery.sh" |grep -v "grep" 

Warning: bad syntax, perhaps a bogus ‘-‘? See /usr/share/doc/procps-3.2.8/FAQ

  3222 pts/1    S+     0:00  |       \_ /bin/bash ./autodiscovery.sh 192.168.1

[[email protected] ~]# ps xf |grep "autodiscovery.sh" |grep -v "grep" 

  3222 pts/1    S+     0:00  |       \_ /bin/bash ./autodiscovery.sh 192.168.1


本文出自 “付炜超” 博客,谢绝转载!

以上是关于Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ的主要内容,如果未能解决你的问题,请参考以下文章

python smtp发送邮件:500 Error: bad syntax

syntax error: Bad for loop variable 解决办法

Django: 400 bad request syntax - 这个消息是啥意思?

错误处理:Syntax error: Bad for loop variable

linux shell scripts:Syntax error: Bad for loop variable

Linux执行sh脚本报错: Syntax error: Bad fd number