I'm trying to run some simple bash script which uses
cat commands. The script fails with this:
wc: command not found
or this (after I commented string which uses wc):
cat: command not found
I have no idea what's going on.
A similar script which contains exactly the same fragments of code works just perfect.
Both scripts are used in the same conditions.
machine:~ user$ which wc /usr/bin/wc
machine:~ user$ which cat /bin/cat