ACE-P-ALE1-04 practice question 3 of 35
The ps –ef command is from which UNIX variant?
Full set: 100 questionsThe ps command syntax is split between two main historical UNIX variants. The ps –ef syntax, which displays every process (-e) in a full-format listing (-f), originated with the System V (SysV) family of UNIX. This style uses standard POSIX-compliant options preceded by a hyphen. In contrast, the BSD (Berkeley Software Distribution) variant of ps uses a different syntax, typically ps aux, where options are not preceded by a hyphen. Modern Linux systems, including Arista's EOS, support both the System V and BSD styles for backward compatibility, but the -ef format is a direct descendant of System V.
A. AIX: While AIX (a UNIX variant from IBM) uses the ps -ef command, it is a derivative of System V and not the origin of this specific syntax.
C. Linux: Linux is not a UNIX variant but a UNIX-like operating system. It adopted the ps -ef syntax from System V for POSIX compliance and compatibility.
D. BSD: The BSD style for the ps command is distinct and does not use a hyphen for its options (e.g., ps aux).
1. The Open Group Base Specifications Issue 7, 2018 edition (IEEE Std 1003.1-2017): The official POSIX standard for the ps command describes the -e and -f options. The RATIONALE section for ps explicitly references the SVID (System V Interface Definition), linking this syntax style directly to System V's implementation.
Reference: The Open Group, Shell & Utilities, ps, RATIONALE section. Available at: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ps.html
2. University Courseware: Reputable computer science courses on operating systems commonly teach the distinction between the two major ps syntaxes.
Reference: O'Hallaron, D. R., & Bryant, R. E. (2015). Computer Systems: A Programmer's Perspective (3rd ed.). Pearson. Chapter 8, "Exceptional Control Flow," discusses process management tools like ps and their historical context in UNIX systems. The text differentiates between System V and BSD conventions.
3. Official Vendor Documentation (Arista): Arista EOS, being a Linux-based network operating system, provides access to a Linux shell where standard commands are available. The ps command's manual page within the system confirms its support for both System V and BSD options.
Reference: Arista EOS Documentation, Command-Line Interface, section on "Accessing the Linux Shell". While not detailing the origin, it demonstrates the use of the System V ps -ef command within the Arista environment.
Keep practicing
Take the free ACE-P-ALE1-04 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ACE-P-ALE1-04 practice questions
- Question 1When using the sudo command to run something as root, which password is required?
- Question 2Which utility can be used to remove sections or columns of each line of input?
- Question 4In file globbing, which symbol matches any single character?
- Question 5If the system is swapping, what can be done to alleviate the problem?
- Question 6When scripting in bash, it is recommended to always use which symbols around your variabl…
- Question 7Which utility can be used to merge sequentially corresponding lines of input streams into…
