【发布时间】:2020-01-09 00:04:47
【问题描述】:
我遇到了与this person 非常相似的问题,但使用“ps -A”(当然没有引号以及所有其他参数,如 -u 等......)。我收到的输出如下:
ps: illegal option -- f
usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
[-u]
[-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
ps [-L]
我已经尝试了上面链接中的建议解决方案,例如ps -u [anotheruser],以及寻找我可以在 Stackoverflow 和其他网上其他地方找到的任何其他相关答案,但无济于事......
I inserted a screenshot of my terminal input/output here.
I also inserted a screenshot of my terminal's output for "echo $SHELL" and "which ps" here.
【问题讨论】: