[HPADM] Find executable files



Hello,
I've been trying to use the find command with the -perm option to find
all files which are executable, but I cannot get it to work. Is there
any way that anyone knows of to get a listing of all and only executable
(by anyone) files? For example, I thought that find / -perm -100 -print
would only list files which are executable by owner, but on my 11.0
server it lists all files.


Thanks!

Tammy Miller
Diebold, Inc.
Tel: 330-490-6629
Mob: 330-715-3856
millert1@xxxxxxxxxxx



Relevant Pages

  • Re: How do you use pwd in a script????
    ... How do you list files from the current directory using unix pwd ... runs the "/sbin/pwd" command, and then stores the result into $CURDIR. ... Then you can use $CURDIR as a variable containing the directory. ... one string argument. ...
    (comp.unix.shell)
  • [HPADM] RE: Find executable files
    ... Your find should work okay, the way I'd do this would be to do: ... I've been trying to use the find command with the -perm option ... -100 -print would only list files which are executable by owner, ... If the reader of this message is not the intended recipient, ...
    (HP-UX-Admin)
  • Re: simple question for newbie
    ... Need to list files containing a string and then copy those files to ... For this type of copy operation, I usually elect to pipe through tar, as ... useful command construct, IMO. ... the added functionality whenever possible. ...
    (comp.os.linux.misc)
  • Re: Two simple questions
    ... In FreeBSD UNIX, there are really no 'hidden' files. ... or space looking at those file names when you list files, ... just need to use a flag on the command - the -a flag in the case of ls. ...
    (freebsd-questions)
  • Can I use LS command to only list files and not directories
    ... I want to use the "ls" command to only list files. ... to only list directories, but I just want a file listing. ...
    (comp.unix.shell)