OPERATING SYSTEMS FOR COMPUTERS
COMMAND LINE INTERFACE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Type su or sudo before a Terminal command to get root privileges.
|
TRUE
|
|
FALSE
|
|
Either A or B
|
|
None of the above
|
Explanation:
Detailed explanation-1: -sudo ("super user do") is a command that lets you run other commands as root temporarily.
Detailed explanation-2: -When using sudo, you need to use the “-i” parameter. So you would log in as your non-privileged user, and then run “sudo-i", NOT “sudo-s". That gives your root user the root environment.
Detailed explanation-3: -The root privilege is required each time a user attempts to install, remove, or change any component of the software. Once a user enters a login password for granting system-based permissions, the Sudo command permits them to attain such permissions for any certain command they expect to perform.
There is 1 question to complete.