Windows DatabaseebooksStatistical Information

LLE10051 : Howto know which program will be executed by a command


You need to know if a program exists and which one will be executed




To check if a certain program can be executed on your system you can use the "which" command.

$ which bash


You can also use the -a parameter or switch. Then the programm will find all the possible matches for you automatically. To select the second one you need to use the ./ prefix. You can do this by:


Therefore you will have to stand in the right directory. 


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics