Cowsay
≈ 3 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
cowsay is a program that generates ASCII art pictures of a cow with a message. It can also generate pictures using pre-made images of other animals, such as Tux the Penguin, the Linux mascot. It is written in Perl. There is also a related program called , with cows with thought bubbles rather than speech bubbles. .cow files for cowsay exist which are able to produce different variants of cows, with different kinds of eyes, and so forth. It is sometimes used on IRC, desktop screenshots, and in software documentation. It is more or less a joke within hacker culture, but has been around long enough that its use is rather widespread. In 2007, it was highlighted as a Debian package of the day.
cowsay is a program that generates ASCII art pictures of a cow with a message. It can also generate pictures using pre-made images of other animals, such as Tux the Penguin, the Linux mascot. It is written in Perl. There is also a related program called , with cows with thought bubbles rather than speech bubbles. .cow files for cowsay exist which are able to produce different variants of cows, with different kinds of eyes, and so forth. It is sometimes used on IRC, desktop screenshots, and in software documentation. It is more or less a joke within hacker culture, but has been around long enough that its use is rather widespread. In 2007, it was highlighted as a Debian package of the day.
Example
The Unix command can also be piped into the command: [user@hostname ~]$ fortune | cowsay ________________________________________ / You have Egyptian flu: you're going to \ \ be a mummy. / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || Using the parameter followed by , one can replace the cow with other beings, such as Tux, the Linux mascot: [user@hostname ~]$ fortune | cowsay -f tux _________________________________________ / You are only young once, but you can \ \ stay immature indefinitely. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ \___)=(___/ Using the parameter shows all available cow files: [user@hostname ~]$ cowsay -l Cow files in /usr/share/cowsay/cows: apt bud-frogs bunny calvin cheese cock cower daemon default dragon dragon-and-cow duck elephant elephant-in-snake eyes flaming-sheep fox ghostbusters gnu hellokitty kangaroo kiss koala kosh luke-koala mech-and-cow milk moofasa moose pony pony-smaller ren sheep skeleton snowman stegosaurus stimpy suse three-eyes turkey turtle tux unipony unipony-smaller vader vader-koala www
Parameters
References
Further reading
Sandra Henry-Stocker (Dec 15, 2020). "Creating your own cowsay messenger". Unix as a Second Language; Network World. networkworld.com. Retrieved 21 September 2023. c't Spaß mit Technik (2018): Einfache Computerprojekte zum Selbermachen. p. 120. c't-Redaktion; Heise Medien GmbH & Co. KG. . Retrieved 21 September 2023. Sreenath (5 July 2023). "Moo! There is a Cow in My Linux Terminal". It's FOSS. itsfoss.com. Retrieved 21 September 2023.
External links
Text derived from https://en.wikipedia.org/w/index.php?oldid=1359254442 under CC BY-SA 4.0; modifications have been made.