nysv's profile picture

There are 3 types of command syntax

1. BSD syntax (no dash): Options are grouped without using the - sign. (ps aux). 2. UNIX (POSIX) syntax (single dash -): Options must begin with a single hyphen and can be grouped (ps -ef). 3. GNU syntax (double dash --): Used for long option names (ps --user root).