Funny Animation Commands: Linux

Dhirendra Patil
5 min readSep 26, 2021

Staring at code all day can be a real drag. Git can be frustrating and is mind-numbing at the best of times. Code reviews and project plans do not spark joy. You have to inject a little fun into your day. You have to take a little time to blow off some steam. What better way than with a few neat little command-line toys?

Adding some fun and especially a little color to your terminal will lighten the mood and really helps when the work tasks start to grind. Some of these utilities are more functional and actually serve a technical purpose, while others are just pure fun. It might seem like these are just nonsense distractions, and that’s because they mostly are. A distraction can be a good thing under the right circumstances.

When you’re hyper focused on crushing some big project before a deadline, or fixing a particularly tricky bug your brain needs a break. Some people take breaks by getting up and walking around, other people distract themselves with some other task or a game. That is exactly what these can be for your productivity; a healthy distraction. Give your brain a rest and relax with some silly applications.

Cowsay

cowsay

cowsay is a program that generates ASCII pictures of a cow with a message. It can also generate pictures using pre-made…

en.wikipedia.org

This is an absolute classic. Cowsay has been around since 1999 and provides endless possibilities for usage. In the simplest form cowsay provides you with an ASCII art cow that accepts stdin and then displays the results inside a speaking cow bubble. Cowsay can be a lot of fun for jazzing up monotonous tasks.

Cowsay could be built into many different useful things. You could include cowsay inside your machine login banner or even have errors and warnings displayed via cowsay (maybe not in production). Cowsay has even been built into some widely popular applications like Ansible as an optional output theme.

Trying out cowsay is super easy, just install for your platform using the commands these cows tell you about below:

### debian install
_________________________
< sudo apt install cowsay >
-------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||### MacOS install
_____________________
< brew install cowsay >
---------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||# run it!
echo "hello from cowsay!" | cowsay
____________________
< hello from cowsay! >
--------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

Parrot.live

hugomd/parrot.live

🐦 Bringing animated parrots to terminals everywhere — hugomd/parrot.live

github.com

The Party Parrot is one of my all time favorite things in the universe. There are so many different forms of Party Parrot. Whether its Aussie Parrot, Exploding Parrot, doesn’t matter because I love them all. Many companies using Slack have quite the repertoire of parrot emojis added.

But what if you’re stuck working on a headless machine with only a terminal? What if you can’t really install superfluous things like this and all you have access to is boring old curl? Don’t worry, you can still party!

parrot.live in terminal.

Simply type the following and take a Party Parrot break:

curl parrot.live

SL (steam locomotive)

mtoyoda / sl

SL(1): Cure your bad habit of mistyping Dismiss GitHub is home to over 50 million developers working together to host…

github.com

What is one of the most useful commands you could ever use on a Unix-based system? That’s right. It’s ls.

Have you ever accidentally typed ls wrong before? Maybe you’ve found yourself committing this classic fat finger:

tate@computer:~ $ sl
bash: sl: command not found

Yes, clearly we meant ls but yet here we are with Bash yelling at us about a classic misunderstanding.

It’s time to train yourself out of this pathological ls typo behavior. sl to the rescue! The next time you accidentally type sl when you mean ls you will be greeted with an excruciatingly long steam locomotive chugging across your terminal:

Terminal output of sl.

You’ll be afraid to accidentally type sl ever again after waiting for that damn train to finish scrolling across the screen. Start correcting those pesky habits today by installing with the following commands:

### debian
sudo apt install sl### MacOS
brew install sl

lolcat

busyloop/lolcat

Dismiss GitHub is home to over 50 million developers working together to host and review code, manage projects, and…

github.com

Your terminal needs more color (probably). By far the easiest way for your terminal to “taste the rainbow” is using lolcat. This handy little utility will accept stdin and paint whatever you pass it in a rainbow gradient effect. Look we can even combine it with cowsay:

Piping Cowsay text to lolcat.

And if that isn’t fun enough, we can even make lolcat animate the text we pass it too by using the --animate flag:

Using the animate flag with lolcat.

Colorize some of that drab text output by installing lolcat:

# Debian
sudo apt install lolcat# MacOS
brew install lolcat

Thank you for reading! I hope you could blow off a little steam and maybe even have a chuckle with some of these amusing utilities. Don’t forget to take some breaks during those coding marathons and entertain yourself!

--

--