ACE-P-ALE1-04 practice question 16 of 35
What is the default standard user prompt for Bourne-based shells?
Full set: 100 questionsThe dollar sign ($) is the conventional default prompt for a standard, non-privileged user in Bourne-based shells (e.g., sh, bash, ksh). This symbol indicates that the commands are being executed with standard user permissions. Arista's Extensible Operating System (EOS) is built on a Linux kernel, and when accessing its underlying bash shell as a non-root user, this $ prompt is used. In contrast, the hash symbol (#) is reserved for the root or superuser, signifying elevated administrative privileges.
A. >: This is typically the secondary prompt (PS2) in Bourne shells, used to indicate that a command is incomplete and requires more input.
C. #: This is the default prompt for the root user (superuser), indicating that the user has administrative privileges.
D. enable#: This prompt format is characteristic of the privileged EXEC mode within a network device's command-line interface (CLI), such as Arista EOS, not the underlying Linux shell.
1. Arista Networks Documentation: In various examples showing access to the underlying Linux shell, the distinction between user and root prompts is clear. For a standard user like admin, the prompt ends with $. For the root user, it ends with #.
Source: Arista EOS Central, "Accessing the CLI from Bash", retrieved from Arista's official technical publications. The article consistently shows [admin@switch ~]$ for the standard user prompt.
2. University Courseware: Reputable computer science programs consistently teach this as a fundamental concept of the Unix/Linux command line.
Source: Stanford University, CS107 - Programming Paradigms, "Getting Started on the Myth Machines," Lab 1. The document states, "When you first log in, you will be at a command prompt, which is a $ on the Myth machines."
3. University Courseware: MIT's introductory materials on Linux also confirm this convention.
Source: MIT OpenCourseWare, 6.003 Signals and Systems, Fall 2011. "Recitation 1: Introduction to the Linux Command Line," Section 1. It notes, "The prompt is the text that the shell displays to let you know that it is ready for your command. By default, it is usually a dollar sign ($)."
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 3The ps –ef command is from which UNIX variant?
- 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…
