010-160 Exam QuestionsBrowse all questions from this exam

010-160 Exam - Question 32


Which of the following characters in a shell prompt indicates the shell is running with root privileges?

Show Answer
Correct Answer: B

In a shell prompt, the '#' character specifically indicates that the shell is running with root privileges or administrative access. This symbol differentiates from the '$' character, which typically represents a regular user without elevated permissions. The root user has the highest level of permissions and can execute any command, which is why this distinction is crucial in command-line environments.

Discussion

8 comments
Sign in to comment
theAlekhnovichOption: B
Sep 30, 2022

B is correct. You can try it your self: open terminal (for Debian-based distributives) and you will see $ the end of the line (regular user), then write sudo -i (it will switch you to root user), hit Enter, input your password and notice that $ changed to #, what means that you're operating as root user now

sasquatchshrimp
Dec 13, 2020

This is correct.

marcelotig681Option: B
Jul 20, 2021

This is correct. B

Thuty07Option: B
Aug 19, 2023

B. # In a shell prompt, the "#" symbol indicates that the shell is running with root privileges. This is often referred to as the "root prompt" or "superuser prompt," and it signifies that the user has administrative privileges and can execute commands with higher system access.

scarceanimalOption: B
Feb 11, 2024

Regular User: $ Root User: #

VovanichOption: B
Dec 23, 2022

B. # is correct

NabusharOption: B
Jun 21, 2023

B is correct

AdmiralGimmeOption: B
Oct 21, 2023

Hashtag indicates root (B. #)