DEV Community

Cover image for Bring fortune to your Linux terminal with cowsay figlet lolcat
CJ
CJ

Posted on • Updated on • Originally published at chuanjin.me

Bring fortune to your Linux terminal with cowsay figlet lolcat

We will cover a few interesting commands today, they are figlet toilet lolcat fortune cowsay shuf. To learn a new command, I believe the best way is always to check tldr for the basic usage and then play with it.






Not only cow and dragon, but also many other options are available to choose. Check them with

ls /usr/share/cowsay/cows

To pick one randomly, shuf comes in. And to fetch only file name without extension, there're more than one way to do so.

Now, time to put them all together, and try to run it a few more times to see the results.


echo "Enjoy and have fun\!" | lolcat -a

Top comments (0)