Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?

Linux fun-o-matic

How to have some fun using the terminal.

  1. Install cowsay [0] via : sudo apt-get install cowsay
  2. Install fortune [1] via : sudo apt-get install fortune
  3. Make sure you have Ruby installed via : ruby -v
  4. Install the lolcat [2] via : gem gem install lolcat
  5. Profit!
$ fortune | cowsay | lolcat
$ git log -1 | cowsay -f dragon-and-cow | lolcat

lolcat preview

OSX fun-o-matic

OSX users can have fun too

  1. Make sure you have HomeBrew installed via: brew -v
  2. Install cowsay [0] via : brew install cowsay
  3. Install fortune [1] via : brew install fortune
  4. Make sure you have Ruby installed via : ruby -v
  5. Install the lolcat [2] via : gem gem install lolcat
  6. Profit!

Hongbo-Miao commented Oct 6, 2016 edited

Thanks!

Just add a comment people who are using new macOS, fot step 5, you can use

sudo gem install -n /usr/local/bin lolcat

to install.

You can also use:
brew install lolcat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment