UnixHowTo: How to find a particular word in a list of files in UNIX? I am about to find the string "sqlplus" in a list of shell scripts:- $ find . -name "*.sh" -print | xargs grep -l sqlplus ./jupallisampleshell1.sh ./jupallisampleshell2.sh $ find . -name "*.sh" -print | xargs grep sqlplus ./jupallisampleshell1.sh: $ORACLE_HOME/bin/sqlplus -s scott/tiger@localhost @testsql2.sql ./jupallisampleshell2.sh: $ORACLE_HOME/bin/sqlplus -s scott/tiger@localhost @testsql2.sql
Its all about sharing knowledge of what we have. I totally believe in this concept.