Skip to content

Instantly share code, notes, and snippets.

@hongbo-miao
Forked from cvrabie/linux_fun.md
Last active October 6, 2016 00:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hongbo-miao/1ee3eb750aa08e4922bb5bae744e088c to your computer and use it in GitHub Desktop.
Save hongbo-miao/1ee3eb750aa08e4922bb5bae744e088c to your computer and use it in GitHub Desktop.

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 : sudo gem install -n /usr/local/bin lolcat
  6. Profit!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment