On Sat, 2003-05-24 at 11:22, Ziaur Rahman wrote:
> Quoting David Eduardo Gomez Noguera <[EMAIL PROTECTED]>:
> 
> > On Sat, 2003-05-24 at 11:56, Sven Anderson wrote:
> >
> > Well, if you really want to know all commands, you can do:
> >
> > find / -perm +0001 -type f -print | less
> >
> 
> This will also list the executable libraries (.so) and CGI scripts in the
> system. These cannot be considered as 'commands', can they?

good point what about :

find ${PATH//:/ } -perm +ugo=x> commandlist.out

should be close and different depending on the value of $PATH as
indicated earlier

Bret

 




> 
> +---------------------------------------------------+
> | Ziaur Rahman           |       PGP Key: 0x8B686E8E|
> | http://www.zia.info    |        http://pgp.mit.edu|
> |                        |                          |
> +---------------------------------------------------+
> .-.-.-.-.-.-.-.-.- Quote-o-moment .-.-.-.-.-.-.-.-.-.
> 
> Grinnell's Law of Labor Laxity:
>       At all times, for any task, you have not got enough done today.
> 
> .-.-.-.-.-.-.-.-.- Quote-o-moment .-.-.-.-.-.-.-.-.-.
> 
> 
> 
> 
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to