English English

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/ard-site/templates/ardsite/library/Designer/Content/SingleArticle.php on line 198

Search for a string pattern (word, text, number) in files

How to search for a certain word, text, or number (text pattern) in all files.

Search in the whole filesystem:

grep -r "TEXTPATTERN" /

Search in a certain folder (home folder):

grep -r "TEXTPATTERN" /home
We use cookies on our website. They are essential for the operation of the site