Search files with a special word
Hi, I want to search all the files *.txt in the directory /home to find files that contains the word "tag" like xytag or Tag123 or /tAg. Regards
|
Code:
grep -i tag /home/*.txt Code:
find /home/ -iname "*.txt" | xargs grep -i tag |
Thank you
|
All times are GMT -5. The time now is 06:12 AM. |