7

How to have some fun using the terminal.

 1 year ago
source link: https://gist.github.com/zlorb/4a3eff8981fcec8ca1c7
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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. Install figlet [3] via : sudo apt-get install figlet
  4. Make sure you have Ruby installed via : ruby -v
  5. Install the lolcat [2] via : gem gem install lolcat
  6. (option) Add to .bash_profile and/or .bashrc
$ echo "This is a banner" | figlet | lolcat
$ fortune | cowsay | lolcat
$ git log -1 | cowsay -f dragon-and-cow | lolcat

OSX users can have fun too

  1. Make sure you have HomeBrew [9] installed via: brew -v
  2. Install cowsay [0] via : brew install cowsay
  3. Install fortune [1] via : brew install fortune
  4. Install figlet [1] via : brew install figlet
  5. Make sure you have Ruby installed via : ruby -v
  6. Install the lolcat [2] via : gem gem install lolcat or brew install lolcat
  7. (option) Add to .bash_profile and/or .bashrc

See also:

lolcat preview

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK