A junior Linux systems administrator needs to update system software. Which of the following shell commands would allow the administrator to gain the necessary permissions to update the software?
sudo is the most correct answer. Being able to issue a command as a superuser will allow the administrator to execute the designated update.
chmod is incorrect as this command changes the owner of a file.
grep is incorrect as this command searches plaintext data for its criteria.
pwd is incorrect as this prints the current working directory.
The sudo command in Linux allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. This would allow the junior Linux systems administrator to gain the necessary permissions to update the system software. The other commands listed have different uses:
chmod: Changes the permissions of files or directories.
grep: Searches files for lines that match a given pattern.
pwd: Prints the current working directory.
None of these would grant the necessary permissions to update system software.
This section is not available anymore. Please use the main Exam Page.220-1002 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Takoyaki
Highly Voted 4 years, 7 months agoFarinaz
3 years, 1 month agonischal123
4 years, 5 months agoc22e828
Most Recent 1 year, 4 months agoTripeV
3 years, 3 months agoKIng16
3 years, 10 months agoBurg
3 years, 6 months agomanujoe
3 years, 6 months ago