EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ Shell Scripting ]

"USE DU TO FIND FILES" - Ülkü SAYILAN - (2003-12-10 13:20:42)   [4207]

USE DU TO FIND FILES

Normally:

find . -name *.txt -print

is the command to find a file.
But you can locate find more
efficiently using du and grep

Use:

du -a |grep *.txt

This will locate all the files
with the extension .txt in the
current directory.



Mail to My Friend , Home Page