nerdexam
CompTIA

220-1002 · Question #270

A technician is troubleshooting an application install on a Linux PC and cannot install the application. Which of the following would be the BEST tool for the technician to use to install the…

The correct answer is C. sudo. Installing software on Linux typically requires elevated (root-level) privileges. The sudo command (superuser do) allows a permitted user to execute a command as the superuser, which is required to write to system directories during installation. pwd (print working directory)…

Hardware and network troubleshooting

Question

A technician is troubleshooting an application install on a Linux PC and cannot install the application. Which of the following would be the BEST tool for the technician to use to install the application?

Options

  • Apwd
  • Bsu
  • Csudo
  • Dls
  • Esfc

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    5% (2)
  • C
    92% (36)

Explanation

Installing software on Linux typically requires elevated (root-level) privileges. The sudo command (superuser do) allows a permitted user to execute a command as the superuser, which is required to write to system directories during installation. pwd (print working directory) and ls (list directory contents) are navigation/informational commands. su switches the active user account but is a less controlled approach than sudo. sfc (System File Checker) is a Windows utility and does not exist on Linux. sudo apt install <package> or similar is the standard way to install applications on Linux.

Topics

#Linux commands#sudo#privilege escalation#application install

Community Discussion

No community discussion yet for this question.

Full 220-1002 Practice