HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

xcowsay — Display a cute cow and message on your Linux desktop. The cow is displayed for either a fixed amount

Submitted by: @import:tldr-pages··
0
Viewed 0 times
xcowsaycutecommandandclicowdisplaymessage
linux

Problem

How to use the xcowsay command: Display a cute cow and message on your Linux desktop. The cow is displayed for either a fixed amount of time, or an amount of time calculated from the size of the text. Click on the cow to dismiss it immediately. More information: <https://manned.org/xcowsay>.

Solution

xcowsay — Display a cute cow and message on your Linux desktop. The cow is displayed for either a fixed amount of time, or an amount of time calculated from the size of the text. Click on the cow to dismiss it immediately. More information: <https://manned.org/xcowsay>.

Display a cow saying "hello, world":
xcowsay "{{hello, world}}"


Display a cow with output from another command:
ls | xcowsay


Display a cow at the specified X and Y coordinates:
xcowsay --at {{X}},{{Y}}


Display a different sized cow:
xcowsay --cow-size {{small|med|large}}


Display a thought bubble instead of a speech bubble:
xcowsay --think


Display a different image instead of the default cow:
xcowsay --image {{path/to/file}}

Code Snippets

Display a cow saying "hello, world"

xcowsay "{{hello, world}}"

Display a cow with output from another command

ls | xcowsay

Display a cow at the specified X and Y coordinates

xcowsay --at {{X}},{{Y}}

Display a different sized cow

xcowsay --cow-size {{small|med|large}}

Display a thought bubble instead of a speech bubble

xcowsay --think

Context

tldr-pages: linux/xcowsay

Revisions (0)

No revisions yet.