RHEL Linux - Red Hat System Administration Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Study for the RHEL Linux - Red Hat System Administration Exam. Enhance your knowledge with flashcards and multiple-choice questions, complete with hints and explanations. Prepare for your certification!

Practice this question and more.


Which version of the ps command supports grouped options without using a dash?

  1. UNIX

  2. BSD

  3. POSIX

  4. BASH

The correct answer is: BSD

The version of the ps command that supports grouped options without using a dash is from the BSD (Berkeley Software Distribution) family. In BSD, you can combine options directly without needing a preceding dash. For example, you can write `ps aux` instead of `ps -a -u -x`. This feature allows for a more streamlined and user-friendly interaction with the command line, reflecting the design philosophy of BSD, which emphasizes simplicity and convenience for the user. Other versions of the ps command, such as those aligned with the UNIX System V (SVR4) or POSIX standards, typically require commands to specify options with a leading dash. BASH, being a shell rather than a Unix system standard, does not directly relate to how ps behaves with grouping options. Therefore, productions influenced by BSD are specially noted for this user-friendly feature.