How do I grep
recursively in directories and sub directories in ksh
on AIX
?
I have tried grep -r
but this is not available.
How do I grep
recursively in directories and sub directories in ksh
on AIX
?
I have tried grep -r
but this is not available.
grep -R
R is uppercase, not lowercase. By the way, grep is not related to the shell, it is a command of its own.
find /path/to/search | xargs grep re-to-use
– YoMismo Mar 10 '15 at 08:01What does work, if you are trying to locate a pattern in files of file_type: grep "pattern" `find . -name "file_type"`
– yamex5 Jul 15 '21 at 18:58