121k views
3 votes
Find all the files in /etc (including subdirectories) end .conf Send the list of full path names to s9. Your find command may produce "Permission Denied" errors during this search. This will have no effect on the answer, and this error can be safely ignored for this question.

1 Answer

5 votes

Answer:

Following is the code;

find / var / -user root | grep -E '(\ / (. *? \ /) +)'> s8

Step-by-step explanation:

This is a pipelining exercise, so I did it

I am using grep -E with a regex that should only extract the path from the found files and write it to a file called s8.

User Jon Galloway
by
7.3k points