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
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 03:54 PM.