Thursday 17 March 2016

how-to-check-particluar-string-in-linux-entire-files-and-folder

How to find files having having particular string ?

grep -R "string -to-be-search"  /path

for example i want to search ip string in /etc directory

grep -R "192.168.1.0" /etc

Please have a look at this video

 

No comments: