Which of the following Linux commands would be used to install an application?
Which of the following Linux commands would be used to install an application?
A. yum
B. grep
C. Is
D. sudo
Answer: A
Explanation:
A. yum – "yum" stands for "Yellowdog Updater, Modified." It’s a command-line package management utility for computers running the Linux operating system using the RPM Package Manager. It can automatically perform system updates and package installations/removals. So, to install an application, you would use yum.
B. grep – "grep" is a command-line utility used in Unix and Unix-like operating systems to search text or files for lines that match a given regular expression. It’s not used for installing applications.
C. ls – "ls" is a command to list files in Unix and Unix-like operating systems. It doesn’t install applications.
D. sudo – "sudo" (short for SuperUser DO) is a command that allows you to run programs with the security privileges of another user (by default, as the superuser). While you might use sudo in conjunction with other commands to install an application, it doesn’t install applications by itself.
So, the command that would be used to install an application in Linux is yum, often used with sudo for necessary permissions, as in "sudo yum install [package-name]".
Latest 220-1102 Dumps Valid Version with 81 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund