Asked by Jayleen Bocanegra on Jun 18, 2024
Verified
Which Linux command is used to search text or a specific file for lines that match a specific text string?
A) search
B) ls
C) apt-get
D) grep
Grep
A common Linux utility that searches output for a specified term.
Linux Command
Instructions or inputs typed into the terminal or shell of a Linux system to perform specific operations or tasks.
Apt-get
A command-line tool used in Debian and Ubuntu Linux distributions for handling packages, allowing users to install, update, and remove software.
- Acquaintance with the procedures for installing operating systems and applications.
Verified Answer
ZK
ZAHRA KENGE MFUMUJun 20, 2024
Final Answer :
D
Explanation :
The grep command is used to search text or a specific file for lines that match a specific text string. It is a powerful tool that can search recursively through directories, search for multiple patterns at once, and can even be used with regular expressions. The other options (search, ls, apt-get) do not have the same functionality as grep for searching text.
Learning Objectives
- Acquaintance with the procedures for installing operating systems and applications.
Related questions
Rochelle's Browser on Her Windows Computer Has Frozen and Is ...
Simone Frequently Downloads Mobile Apps from the Amazon App Store ...
A(n) ________ Software Installation Enables You to Decide Which Features ...
Which of the Following Is Not True About Locally Installed ...
Display of Document File Extensions Is Hidden by Default in ...