220-1202 practice question · Operating Systems
A Linux user needs elevated (administrative) privileges to install a package or edit a protected system file from the…
A Linux user needs elevated (administrative) privileges to install a package or edit a protected system file from the terminal. What command do they typically prefix their command with?
- Asudo
- Bgrep
- Cls
- Dcd
Show the answer and explanation
Correct answer: A) sudo
Why each option is right or wrong
- A) Correct. sudo ("superuser do") temporarily elevates a permitted user's privileges to execute a specific command as the root/administrative user, the standard way to perform actions requiring elevated permissions on Linux.
- B) Incorrect. grep searches text for matching patterns; it has no relationship to privilege elevation.
- C) Incorrect. ls lists directory contents; it has no relationship to privilege elevation.
- D) Incorrect. cd changes the current working directory; it has no relationship to privilege elevation.
- Exam domain
- Operating Systems · 28% of 220-1202
- Question type
- Multiple choice (one answer)
Related 220-1202 questions
- A technician wants to check a Windows PC's basic network configuration (IP address, subnet mask, default gateway) from…Operating Systems
- A technician needs to copy a large folder structure to a new server reliably, with the ability to resume if interrupted…Operating Systems
- A technician wants to map a network share to a drive letter (like Z:) from the command line, rather than through File…Operating Systems
- A Windows PC is behaving erratically, and a technician suspects a core system file may have become corrupted.Operating Systems
All 67 free 220-1202 questions by domain · 15 sample questions on one page
Practise the full 220-1202 exam
This question is one of a small free sample from the CertRidge 220-1202 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with CompTIA; never copied from the real exam.