I can't really see the point in exec the grep command, perhaps I have missed a point here. This would work:
find / -type f -name '*172.*' > dar172.txt
Edit:
Ah, If you want linenumbers, then this will do the trick:
find / -type f -name '*172.*' | grep -n "" > dar172.txt
Last edited by Dinithion; 10-18-2007 at 02:54 PM.
|