snippetbashTip
cowsay — Print ASCII art (by default a cow) saying or thinking something. More information: <https://manned.o
Viewed 0 times
commandartcowsayasciicliprintcowdefault
Problem
How to use the
cowsay command: Print ASCII art (by default a cow) saying or thinking something. More information: <https://manned.org/cowsay>.Solution
cowsay — Print ASCII art (by default a cow) saying or thinking something. More information: <https://manned.org/cowsay>.Print an ASCII cow saying "hello, world":
cowsay "{{hello, world}}"Print an ASCII cow saying text from
stdin:echo "{{hello, world}}" | cowsayList all available art types:
cowsay -lPrint the specified ASCII art saying "hello, world":
cowsay -f {{art}} "{{hello, world}}"Print a dead thinking ASCII cow:
cowthink -d "{{I'm just a cow, not a great thinker...}}"Print an ASCII cow with custom eyes saying "hello, world":
cowsay -e {{characters}} "{{hello, world}}"Code Snippets
Print an ASCII cow saying "hello, world"
cowsay "{{hello, world}}"Print an ASCII cow saying text from `stdin`
echo "{{hello, world}}" | cowsayList all available art types
cowsay -lPrint the specified ASCII art saying "hello, world"
cowsay -f {{art}} "{{hello, world}}"Print a dead thinking ASCII cow
cowthink -d "{{I'm just a cow, not a great thinker...}}"Context
tldr-pages: common/cowsay
Revisions (0)
No revisions yet.