Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word ORANGE in the files.

Find ./ -name “*.c,v” | sed ‘s/,v//g’ | xargs grep “ORANGE”

Related Questions

Category: Linux Interview Questions.