我见过许多接受“BSD 语法”及其标准语法的命令。以ps
命令为例:
To see every process on the system using standard syntax:
ps -e
ps -ef
ps -eF
ps -ely
To see every process on the system using BSD syntax:
ps ax
ps axu
Run Code Online (Sandbox Code Playgroud)
那么这两条路线有什么区别呢?一般来说,当他们在 BSD 语法中说我应该记住哪些元素时?这种语法是否也仅适用于它们在 BSD 中的那些命令?