CompTIA A+ Core 2 (220-1102) — Question 40
Which of the following Linux commands would be used to install an application?
Answer options
- A. yum
- B. grep
- C. ls
- D. sudo
Correct answer: A
Explanation
The command 'yum' is specifically designed for installing, updating, and managing software packages on RPM-based Linux distributions. The other options serve different purposes: 'grep' is used for searching text, 'ls' lists directory contents, and 'sudo' is used to execute commands with elevated privileges but does not install applications by itself.