From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7dc5e5192687c0c6 X-Google-Attributes: gidfee84,public From: stuart@nsl-too.pa.dec.com (Stephen Stuart) Subject: Re: Find'ing Executables Date: 1996/09/06 Message-ID: <50o240$bub@usenet.pa.dec.com>#1/1 X-Deja-AN: 178788932 references: <50niq1$4td@alpha.delta.edu> organization: Digital Equipment Corporation, Palo Alto, CA, USA newsgroups: comp.unix.osf.osf1 Keith DeLong (keith@alpha.delta.edu) wrote: : Can someone help me with the syntax for a "find" command, that will only : find executable programs. I've wandered through the Man pages for find : many times, and I just cant seem to figure it out. I want to find it if : it's executable by anyone (owner, group, world). This version will find anything with any execute bit set: % find -perm -0111 This one restricts the search to only things of type file (excluding directories and symlinks): % find -type f -perm 0111 Stephen -- Stephen Stuart stuart@pa.dec.com Network Systems Laboratory Digital Equipment Corporation