首页 > 代码库 > 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

问题:

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

解决:

[root@bogon ~]# 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

[root@bogon ~]# 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