Cowsay is a small and fun tool that shows your text in a speech bubble with a cow in the terminal. It is very easy to use and is often used to make the terminal look cool and interesting. You can also use different characters and styles to make your messages more fun while using Linux terminal.
Installation Commands
Update Terminal and install cowsay:
pkg update && pkg upgrade && pkg install cowsay -yCheck installation:
cowsay "Hello"Install lolcat for color output:
pkg install ruby -y && gem install lolcatUsage Commands
Display a simple message:
cowsay "Hello World"Use different character (like tux):
cowsay -f tux "Hello from Linux"List all available characters:
cowsay -lMake the cow think:
cowthink "I am thinking..."Change eye style:
cowsay -e ^^ "Cool eyes"Change tongue style:
cowsay -T U "Funny cow"Use random cow:
cowsay -f $(cowsay -l | tr ' ' '\n' | shuf | head -n 1) "Random cow"Combine with other commands:
echo "Welcome to Termux" | cowsayColored Cowsay (Modern Look)
Use cowsay with rainbow colors:
cowsay "Hello World" | lolcatRandom colorful cow:
cowsay -f $(cowsay -l | tr ' ' '\n' | shuf | head -n 1) "Cool Termux" | lolcatRainbow thinking cow:
cowthink "Learning Termux is fun" | lolcatStylish animated color effect:
lolcat -a -d 2 <<< "$(cowsay 'Stylish Output')"
