LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how do I find the executable command (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-find-the-executable-command-51103/)

Culbert 03-21-2003 09:48 PM

how do I find the executable command
 
How does one go about finding out the executable name for a program? For example to start kwrite you type kwrite (well that's an easy one, but you get the point). Is there a list of programs that are installed somewhere? Thanks

wapcaplet 03-21-2003 09:51 PM

Look in /bin, /usr/bin, and /usr/local/bin for what is probably a gigantic list of everything that a user can run.

For stuff that only administrators (like root) can run, also look in /sbin and /usr/sbin.

Culbert 03-21-2003 09:52 PM

Awesome, thanks!

Mustaf 03-21-2003 10:04 PM

It looks as though its 80/20 in favor of Windows.

Read the man pages

wapcaplet 03-21-2003 10:15 PM

Quote:

Originally posted by Mustaf
It looks as though its 80/20 in favor of Windows.

Read the man pages

Er.. really? What's the man page that shows what software is installed?

rmartine 03-22-2003 12:03 AM

Also, rather than scrounging around directories looking for bin files. Try the whereis command

ex. bash2.05$ whereis kwrite

Good Luck

Daemonfly 03-23-2003 04:51 AM

Once in a while, I've found some programs that have some more odd executable file names compared to the package name - like Camserv - app is reffered to as Camserv, package is camserv.x.x.tar.gz but the binary executable is "relay".

In these cases, documentation in the tar file you downloaded, or project webpage.


All times are GMT -5. The time now is 06:40 PM.