cowsay: command not found

Getting the error message instead a cow saying something to you in ASCII art ?

-bash: cowsay: command not found

To install cowsay or cowthink, simply do apt-get install cowsay cowthink.


Debian installs those tools into /usr/games/cowsay, but /usr/games is not in the PATH environment variable of root user by default, making bash print the “command not found” error. Same behaviour on most RaspberryPi setups.

To get cowsay working in bash console, you’d either include that directory in .bashrc or similiar, or, insert a symlink into /usr/bin just like that:

Pretty easy, enjoy your ascii cow!

One thought on “cowsay: command not found

  1. Pingback: Sudo Seriously Fun Linux Command Terminal Packages

Leave a Reply

Your email address will not be published. Required fields are marked *