Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

which in AIX

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hi all,

anybody knows why I can which an executable file but I cannot execute in?

e.g.
/home > which testing
/home/klins/testing

/home > testing
testing: command not found

thanks
 
What is $PATH?
# echo $PATH

If PATH contains "/home/klins", but not "/home" or "." then the results are expected.



 
Are you using the Korn Shell? Try the "official" command: whence
I hope it works...
Unix was made by and for smart people.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top