How to Search TEXT in files

#grep -r “text name” * (if you give star it will search on all files located on system)

OR

#grep -r “text name” /root/file. (Path of file in which the text should be searched)

Comments are closed.