I installed cowsay, to try fun ways to learn linux commands. Using:
sudo apt install cowsay
And when I tried using it, like this:
cowsay helloworld
It did not work, I got bash: cowsay: command not found
I couldn't understand why. After trying to look it up, I realized that I could make it work by typing the full path:
/usr/games/cowsay helloworld and it worked.
(edited to correct user to usr)
Is there a way to make it work from anywhere by just typing cowsay helloworld, without the full path?