Rikard, Paul, On Sunday 05 December 2004 03:38, Rikard Johnels wrote:
On Sunday 05 December 2004 02:44, Theo v. Werkhoven wrote:
Sat, 04 Dec 2004, by Paul_Ryan@gmx.net:
Hi is there a command that I can give to list all of the programs installed on my machine and what command I need to use to start them. For example I installed kcmpurefptd and I can't find the command to start it. Thank You
This made me think of http://get.a.clue.de/Fun/helpdesk.html
:-)
Theo
If i can understand your question correctly;
find / -type f -perm +111 | less
Find all files from top level and down, of the type "file" and list all with the permisionmask 111 (That is all with the excecute bit set)
This will list ALL files with excecute permission.and pipe it to less as there might be a few. (Some or all libraries will be listed too)
You can exclude object and shared object files with this elaboration: find / \ -type f \ -perm +111 \ ! -name '*.so' ! -name '*.o' \ ! -name '*.so.*' ! -name '*.o.*' \ |less Nonetheless, you'll probably get some questionable hits. Running this on my /usr/lib directory alone produces 1977 hits.
There is probably more elegant ways to do this, but it might be a start.
--
/Rikard
Randall Schulz