Windows DatabaseebooksStatistical Information

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

Symptom:

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

Cause:

none

Solution:

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

$ which bash

/bin/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:

./ThisProgram

Therefore you will have to stand in the right directory. 


Disclaimer:

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