Faster Searching !

fly over fly_over at soon.com
Mon Feb 7 03:23:04 UTC 2005


Hi Guruz ,

I want to ask about the fastest searching command as i am using to search SUID/GUID files in / directory . script given as:

        ls -l /usr/bin | awk '/^-.....[s]/ { print $3, $9 }'

or using 'find' utility as below


        find /usr/bin -perm +6000



now the question is  Which works faster, script without 'find' or with it? and How do you know?

thankx.
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm





More information about the fedora-list mailing list