Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Working with Linux ??? Quick Hacks for the Command Line

You're reading from   Working with Linux ??? Quick Hacks for the Command Line Command line power like you've never seen

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787129184
Length 222 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Bogdan Vaida Bogdan Vaida
Author Profile Icon Bogdan Vaida
Bogdan Vaida
Petru I»ôfan Petru I»ôfan
Author Profile Icon Petru I»ôfan
Petru I»ôfan
Arrow right icon
View More author details
Toc

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
Terminal Art

Then run this command:

fortune
Terminal Art

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
Terminal Art

To make this recurrent, we can include it as the last...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image