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
On Saturday 04 December 2004 14:01, Paul Ryan wrote:
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
rpm -q --filesbypkg myrpm.rpm this will list all files, installed by that package (rpm). So look for files, placed in /usr/bin, /usr/sbin, /usr/local/bin, etc. But, as I see, this specific program (kcmpurefptd) is not installed from rpm, and is just a module for the KDE's Control Center, so most probably there should be a PureFTPd menu item somewhere in the Control Center. Cheers Sunny -- Get Firefox http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
Am Sam, 2004-12-04 um 21.01 schrieb Paul Ryan:
Hi is there a command that I can give to list all of the programs installed on my machine
rpm -qa
and what command I need to use to start them. For example I installed kcmpurefptd and I can't find the command to
try <nameoftheprogramm><enter> or try man <nameoftheprogram> for help
start it. Thank You
HTH -- _/_/_/ Peter Thill Registered Linux user number 340982. _/_/_/ peter_thill@web.de Please visit: http://counter.li.org/ _/_/_/ www.peterthill.de.vu _/_/_/ -- Yesterday is history, tomorow is a mystery --
* Peter Thill
Am Sam, 2004-12-04 um 21.01 schrieb Paul Ryan:
Hi is there a command that I can give to list all of the programs installed on my machine
rpm -qa
note: this will *only* work for installs by rpm. If he has compiled and not utilized checkinstall or used CPAN or installed a binary program not via rpm, apt, red-rug, ..., he will not see all of the programs installed. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Saturday 04 December 2004 20:01, Paul Ryan wrote:
a command that I can give to list all of the programs installed on my machine
~ for a start, maybe, as root, try :- rpm -qa ................ about executables : "which" . . . try . . . which <program name> best rgds ________
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 -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. + ICQ: 277217131 SUSE 9.2 + Jabber: gurp@nedlinux.nl Kernel 2.6.8 + MSN: twe-msn@ferrets4me.xs4all.nl See headers for PGP/GPG info. +
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 -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. + ICQ: 277217131 SUSE 9.2 + Jabber: gurp@nedlinux.nl Kernel 2.6.8 + MSN: twe-msn@ferrets4me.xs4all.nl See headers for PGP/GPG info. +
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) There is probably more elegant ways to do this, but it might be a start. -- /Rikard --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
On Sun, 2004-12-05 at 06: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 <SNIP> 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)
<SNIP> Replace 'nameofpackage' below to the name of the package you installed or your best guess or part of the name (like 'ftp'). Note that those are back tics not single quotes in the command. rpm -ql `rpm -qa | grep -i nameofpackage` | grep bin This will work for RPM packages that have been installed that have an executable in a bin directory. I doubt someone who feels comfortable compiling their own programs would have asked the original question. If I'm wrong and they did compile from source, you might want to throw a 'grep' in the above command to cut down the results some. find / -type f -perm +111 | grep -i ftp | less Louis
Louis Richards wrote:
On Sun, 2004-12-05 at 06: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
<SNIP>
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)
<SNIP>
Replace 'nameofpackage' below to the name of the package you installed or your best guess or part of the name (like 'ftp'). Note that those are back tics not single quotes in the command.
rpm -ql `rpm -qa | grep -i nameofpackage` | grep bin
This will work for RPM packages that have been installed that have an executable in a bin directory. I doubt someone who feels comfortable compiling their own programs would have asked the original question.
If I'm wrong and they did compile from source, you might want to throw a 'grep' in the above command to cut down the results some.
find / -type f -perm +111 | grep -i ftp | less
Louis
The package name minus the .rpm, e.g "rpm -q --filesbypkg apache2|grep bin". Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====
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
Theo v. Werkhoven wrote:
<snip>
This made me think of http://get.a.clue.de/Fun/helpdesk.html
ROFL!!! Am I the only one here who looked at that URL? Or maybe the only one insane enough to admit it? :D
On Sun, 2004-12-05 at 23:08, Darryl Gregorash wrote:
Theo v. Werkhoven wrote:
<snip>
This made me think of http://get.a.clue.de/Fun/helpdesk.html
ROFL!!!
Am I the only one here who looked at that URL? Or maybe the only one insane enough to admit it? :D
I enjoyed it and thought it was funny but it is hard to compete with the original Abbott and Costello. http://www.baseball-almanac.com/humor4.shtml Louis
Mon, 06 Dec 2004, by louis@ldrinteractive.com:
On Sun, 2004-12-05 at 23:08, Darryl Gregorash wrote:
Theo v. Werkhoven wrote:
<snip>
This made me think of http://get.a.clue.de/Fun/helpdesk.html
ROFL!!!
Am I the only one here who looked at that URL? Or maybe the only one insane enough to admit it? :D
I enjoyed it and thought it was funny but it is hard to compete with the original Abbott and Costello.
LOL. I agree, that's pretty hilarious :-) Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. + ICQ: 277217131 SUSE 9.2 + Jabber: gurp@nedlinux.nl Kernel 2.6.8 + MSN: twe-msn@ferrets4me.xs4all.nl See headers for PGP/GPG info. +
participants (11)
-
Darryl Gregorash
-
Louis Richards
-
Patrick Shanahan
-
Paul Ryan
-
Peter Thill
-
pinto
-
Randall R Schulz
-
Rikard Johnels
-
Sid Boyce
-
Sunny
-
Theo v. Werkhoven