From: stuart@nsl-too.pa.dec.com (Stephen Stuart)
Subject: Re: Find'ing Executables
Date: 1996/09/06 [thread overview]
Message-ID: <50o240$bub@usenet.pa.dec.com> (raw)
In-Reply-To: 50niq1$4td@alpha.delta.edu
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
next prev parent reply other threads:[~1996-09-06 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-05 4:00 Find'ing Executables Keith DeLong
1996-09-06 4:00 ` Stephen Stuart [this message]
1996-09-06 4:00 ` Marc Roussel
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox