The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 02-04-2002
witt
Guest
 

Posts: n/a
Popo,

You can try this :

for i in `find . -xdev -type f`
do
file $i | egrep -i "text|script" | awk -F\: '{ print $1 }'
done


Witt