这似乎是一个愚蠢的问题,但我一直无法找到明确的答案。
This website指出破折号是可选的
ps aux
然而,
ps aux
有效但 ps -aux
出现错误 no user named 'x'
.任何想法可能是什么问题?运行 Mac 10.8.2。谢谢
最佳答案
man ps
会给你这个:
The biggest change is in the interpretation of the -u option, which now displays processes belonging to the specified username(s). Thus, "ps -aux" will fail (unless you want to know about user "x"). As a conve- nience, however, "ps aux" still works as it did in Tiger.
关于macos - "ps aux"有效,但 "ps -aux"无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15102576/