gpt4 book ai didi

macos - "ps aux"有效,但 "ps -aux"无效

转载 作者:行者123 更新时间:2023-12-01 01:14:34 26 4
gpt4 key购买 nike

这似乎是一个愚蠢的问题,但我一直无法找到明确的答案。

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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com