Which Linux shell command can be used to search a specific string of characters within a file?
- cat
- man
- pwd
- grep
Explanation: There are many CLI commands in Linux, including these:
- grep – used to search for specific strings of characters within a file or other commands outputs
- pwd – used to display the current directory
- cat – used to list the contents of a file
- man – used to display the documentation for a specific command
Exam with this question: IoT Connecting Things 2.0 – Chapter 3 Quiz Answers
Please login or Register to submit your answer