Linux Bash Fun

Install 5 programs with the following brew command firstly then have fun 🙂

$ brew install cowsay fortune figlet lolcat boxes

$ date | lolcat

$ cal | lolcat

$ fortune | cowsay | lolcat

$ git log -1 | cowsay -f dragon-and-cow | lolcat

$ echo Hello World! | boxes

/****************/
/* Hello World! */
/****************/

$ fortune | boxes -d parchment
 ____________________________________
/\                                   \
\_| And we heard him exclaim         |
  | As he started to roam:           |
  | "I'm a hologram, kids,           |
  | please don't try this at home!'" |
  |                 -- Bob Violence  |
  |   _______________________________|_
   \_/_________________________________/

$ fortune | boxes -d dog -a c

                           __   _,--="=--,_   __
                          /  \."    .-.    "./  \
                         /  ,/  _   : :   _  \/` \
                         \  `| /o\  :_:  /o\ |\__/
                          `-'| :="~` _ `~"=: |
                             \`     (_)     `/ jgs
                      .-"-.   \      |      /   .-"-.
.--------------------{     }--|  /,.-'-.,\  |--{     }-------------------.
 )                   (_)_)_)  \_/`~-===-~`\_/  (_(_(_)                  (
(                      Why I Can't Go Out With You:                      )
 )                                                                      (
(                          I'd LOVE to, but...                           )
 )          -- I have to draw "Cubby" for an art scholarship.           (
(                  -- I have to sit up with a sick ant.                  )
 )                  -- I'm trying to be less popular.                   (
(                  -- My bathroom tiles need grouting.                   )
 )            -- I'm waiting to see if I'm already a winner.            (
(                      -- My subconscious says no.                       )
 )     -- I just picked up a book called "Glue in Many Lands" and I     (
(                       can't seem to put it down.                       )
 )                 -- My favorite commercial is on TV.                  (
(                 -- I have to study for my blood test.                  )
 )                  -- I've been traded to Cincinnati.                  (
(                  -- I'm having my baby shoes bronzed.                  )
 )            -- I have to go to court for kitty littering.             (
'------------------------------------------------------------------------'

$ fortune | boxes -d peek -a c -s 40x11

/*       _\|/_
         (o o)
 +----oOO-{_}-OOo--------------------------------------------------------------+
 |                              No one likes us.                               |
 |                              I don't know why.                              |
 |         We may not be perfect,                  We give them money,         |
 |       But heaven knows we try.                But are they grateful?        |
 |        But all around,                         No, they're spiteful,        |
 |        Even our old friends put us down.       And they're hateful.         |
 |       Let's drop the big one,                 They don't respect us,        |
 |       And see what happens.                   So let's surprise them        |
 |                           We'll drop the big one,                           |
 |                             And pulverize 'em.                              |
 |                               Asia's crowded,                               |
 |                              Europe's too old,                              |
 |        Africa is far too hot,                  We'll save Australia.        |
 |   And Canada's too cold.                  Don't wanna hurt no kangaroos.    |
 |And South America stole our name        We'll build an All-American amusement|
 |        Let's drop the big one,                         park there--         |
 |       There'll be no one left to blame us.    They got surfin', too!        |
 |                                                                             |
 |                             Boom! goes London,                              |
 |                              And Boom! Paree.                               |
 |     More room for you,                      Oh, how peaceful it'll be!      |
 |      And more room for me,                   We'll set everybody free!      |
 |And every city,                         You'll wear a Japanese kimono, babe; |
 |  The whole world round,                  There'll be Italian shoes for me!  |
 |      Will just be another American town.     They all hate us anyhow,       |
 |                       So, let's drop the big one now.                       |
 |                         Let's drop the big one now!                         |
 |                     -- Randy Newman, "Drop the Big One"                     |
 +----------------------------------------------------------------------------*/

$ fortune | boxes -d html -s 60

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!--... "fire" does not matter, "earth" and "air" and "water" do not matter.     -->
<!--"I" do not matter.  No word matters.  But man forgets reality and remembers  -->
<!--words.  The more words he remembers, the cleverer do his fellows esteem him. -->
<!--He looks upon the great transformations of the world, but he does not see    -->
<!--them as they were seen when man looked upon reality for the first time.      -->
<!--Their names come to his lips and he smiles as he tastes them, thinking he    -->
<!--knows them in the naming.                                                    -->
<!--                -- Roger Zelazny, "Lord of Light"                            -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

$ echo "Spring is in the air" | boxes -d spring -a c -p h5

$ figlet "Hello world" | boxes -d unicornthink | lolcat

$ echo Hello world | boxes -d ian_jones | lolcat

$ cowsay Hello world!

$ cowsay Hello world! | lolcat

$ figlet Hello world!

$ figlet Hello world! | lolcat

$ echo Hello world! | figlet | lolcat

$ echo Hello world! | lolcat -a -d 500

Leave a Reply