lolcat :一个在 Linux 终端中输出彩虹特效的命令行工具
何为Lolcat
apt-get install ruby [在基于 APT 的系统中]
yum install ruby [在基于 Yum 的系统中]
dnf install ruby [在基于 DNF 的系统中]
ruby --version
ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
wget https://github.com/busyloop/lolcat/archive/master.zip
unzip master.zip
cd lolcat-master/bin
gem install lolcat
lolcat --version
lolcat 42.0.99 (c)2011 [email protected]
Lolcat的用法
lolcat -h
ps | lolcat
date | lolcat
cal | lolcat
lolcat test.sh
echo I ❤ Linux | lolcat
figlet I Love Linux | lolcat
apt-get figlet
yum install figlet
dnf install figlet
echo I ❤ Linux | lolcat -a -d 500
man ls | lolcat
apt-get cowsay
yum install cowsay
dnf install cowsay
# cowsay -l
Cow files in /usr/share/cowsay/cows:
apt beavis.zen bong bud-frogs bunny calvin cheese cock cower daemon default
dragon dragon-and-cow duck elephant elephant-in-snake eyes flaming-sheep
ghostbusters gnu head-in hellokitty kiss kitty koala kosh luke-koala
mech-and-cow meow milk moofasa moose mutilated pony pony-smaller ren sheep
skeleton snowman sodomized-sheep stegosaurus stimpy suse three-eyes turkey
turtle tux unipony unipony-smaller vader vader-koala www
cowsay -f dragon hello my blog |lolcat
alias lolls="ls -l | lolcat"
lolls