Question: ( This is in Bash by the way. Cant figure it out ) Using for, find, if , and grep, what commands would

(This is in Bash by the way. Cant figure it out)
Using "for", "find", "if", and "grep", what commands would you use to list which php
files have the word "user" in it.
Hints:
a) I don't mean "user.php", I mean a file that contains the word "user" in its content.
b) Remember that grep returns unsuccessful if it cannot find any line that matches
the search pattern
c) grep - just prints the name of the file if it finds a match
( This is in Bash by the way. Cant figure it out

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!