Newbie #bash question:
I'm trying to run a command located in /usr/local/bin/, via a shell script over ssh. But bash keeps giving a 'command not found' error.
If I modify the script to specify the command's full file path, it works just fine.
Why is this?
$PATH includes /usr/local/bin/. Why can't bash find it?
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!