Hi all,
In production code, if using the whence command it picks the production file.if I am using the test code file. by using whence command it not picking the file. do you have any idea on this.
Whence prodcode
it picks the exact path of the prodcode.
whence testcode.
it not pick the exact path of the testcode.
Maybe we can help if you answer a few questions:
- What operating system are you using?
- What shell are you using?
- What directory were you in when you ran the command:
whence prodcode ?
- What was the string stored in
$PATH when you ran the command: whence prodcode ?
- In what directory is
prodcode located?
- What directory were you in when you ran the command:
whence testcode. ?
- What was the string stored in
$PATH when you ran the command: whence testcode. ?
- In what directory is
testcode. located?