Skip to content

Instantly share code, notes, and snippets.

@cvrabie
Forked from marianposaceanu/linux_fun.md
Last active January 17, 2022 02:25
Show Gist options
  • Save cvrabie/6623140 to your computer and use it in GitHub Desktop.
Save cvrabie/6623140 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 : gem gem install lolcat
  6. Profit!
@hongbo-miao
Copy link

hongbo-miao commented Oct 6, 2016

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.

@samarkandiy
Copy link

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