Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Checking my work in Linux I want to search for all files in the directory ~/Documents that contain the keyword mount, case sensitive, and as
Checking my work in Linux
I want to search for all files in the directory ~/Documents that contain the keyword "mount", case sensitive, and as the entire word. Words like amount, submount, demount, etc, should not be found in the results; just 'mount'. Additionally, I only want to see the name(s) of the file(s) that have matches as a result of running the command. What command would I use? Hate mail can be directed to /dev/null
grep -rf mount Documents/*
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started