tldr/pages/common/cowsay.md

433 B

cowsay

Generate an ASCII character (by default a cow) saying or thinking something. Available characters are stored in /usr/share/cowsay/ on Linux, and /usr/local/share/cows/ on Mac.

  • Print an ASCII cow saying "Hello world!":

cowsay "Hello world!"

  • Print an ASCII dragon saying "Hello!":

echo "Hello!" | cowsay -f dragon

  • Print a stoned thinking ASCII cow:

cowthink -s "I'm just a cow, not a great thinker ..."