Faster Searching !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux