Cowsay English

From ICO wiki


Cowsay is a very important program for any up-and-coming Ubuntu user, important in the way that it can starve off boredom for a few seconds. Cowsay runs on Unix-like operating systems, like Linux, and the program can be used by any normal user. Installation can need sudo or root access. Cowsay itself creates an ASCII picture of a cow saying a message the user creates. The program has many functions that let it change the output accordingly, by using specific parameters. Piping outputs of other programs into cowsay is easily doable using the piping command. Cowsay was created by Tony Monroe, in 1999. [1][2]

Over the years, Cowsay became a joke in the hacker culture and has become widespread enough for normal recognition.


Syntax and Parameters

The average syntax for cowsay consists of:

cowsay (parameter) (message)

Parameters Functions
-d Dead cow mode, replaces eyes with X
-g Scrooge McDuck mode, replaces eyes with $
-p Tin foil hat mode (without a hat), replaces eyes with @
-b Borg assimilation mode, turns eyes into ==
-t Tired cow mode, replaces eyes with --
-s "Stoned" mode, replaces eyes with *, with an additional tongue
-w Suprised mode, replaces eyes with O
-y Young mode, replaces eyes with .
-f cowfile Used to replace the cow with other possible creatures, like sheep or penguins
-e eye_string Used to specify the eye string on the cow
-T tongue_string Used to specify the tounge usage on the cow
-W used to specify the width of the speech baloons
-n used to disable line wrap and to create messages with spaces in them


Images were generated at, One can do this themselves, should they find the .cow files.


So, all in all, Cowsay is a tool to waste time and have fun with. It is something that can be used in the CLI and can be quicker than launching up a normal game to entertain ones self. The program itself is a known joke in the hacker culture and also has numerous ASCII artist make their works for it.

Sources & References



Article created by Meelis Hass in the Spring semester of 2016