The Nerdy Sixty | (04/60) Fortune-Telling Cow | Solution

Combine two classic commands to have a cow deliver a random message in your terminal.

Hint 1: One command outputs random fortunes, another draws an ASCII cow.

Hint 2: Pipe the output of `fortune` into `cowsay`.

 

Solution:

`fortune | cowsay` will display an ASCII cow saying a random fortune. It combines the fortune cookie quotes with the cowsay ASCII art.

 

 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

WordPress Cookie Notice by Real Cookie Banner