cygwin, PATH problem?

Posted by jayjaypg22 on Server Fault See other posts from Server Fault or by jayjaypg22
Published on 2010-12-09T15:54:59Z Indexed on 2013/10/26 9:57 UTC
Read the original article Hit count: 204

Filed under:
|

I run a .ksh containing a awk call. awk.exe and his shortcut awk is in /bin/awk, /bin is in the PATH environment variable. But when I try to launch awk, I have this error message :

bash: /usr/bin/awk: no such file or directory

Why didn't bash look for it in the /bin folder too?

edit : tar has the same rights, tar.exe is in /bin and can be listed in /usr/bin/, the exact same way than awk. Tar works fine whereas awk not.

© Server Fault or respective owner

Related posts about bash

Related posts about cygwin