Chapter 6. Terminal Art
All work and no play makes Jack a dull boy. Even though the command line seems boring to a lot of people, it can become great fun. It all comes down to your imagination. Terminals can be stylish and can give a good impression, especially the ones we see in the movies. Colors, ASCII art, and animations can make our terminal come alive. So, here comes some terminal art!
In this chapter, we will cover the following:
- Working with some Linux commands to have fun with
Ever heard of fortune cookies? Do you want to have them without getting fat? Just run the following apt
command to install the utilities that we will be using in this chapter:
sudo apt install fortune cowsay cmatrix
Then run this command:
fortune
When running this command, you get fortunes, quotes, and jokes, in a random order. If we combine the command with cowsay
, we will get the same fortunes, delivered with an image of a cow:
fortune | cowsay
To make this recurrent, we can include it as the last...