tag:blogger.com,1999:blog-11641450.post-51461680352778631302007-10-24T01:09:00.000+05:302007-10-24T01:13:51.203+05:30UnixHowTo: 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:-<br /><br /><strong>$ find . -name "*.sh" -print | xargs grep -l sqlplus</strong><br /><br /><em>./hasimsampleshell1.sh<br />./hasimsampleshell2.sh</em><br /><br /><strong>$ find . -name "*.sh" -print | xargs grep sqlplus</strong><br /><br /><em>./hasimsampleshell1.sh: $ORACLE_HOME/bin/sqlplus -s scott/tiger@localhost @testsql2.sql<br /><br />./hasimsampleshell2.sh: $ORACLE_HOME/bin/sqlplus -s scott/tiger@localhost @testsql2.sql</em>M.A.Hasimhttp://www.blogger.com/profile/03016138163736781154noreply@blogger.com