Let’s say you need to protect few directories (/def, /ghi, /mno) from following tree. Then please follow the further mention…
print lines matching a pattern within a directory with its subdirector grep(1) -rnw ‘/path/to/somewhere/’ -e “pattern” -R, -r, –recursive Read…