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

其它综合-有趣的linux命令行工具-lolcat-LMLPHP

ps | lolcat
date | lolcat
cal | lolcat

其它综合-有趣的linux命令行工具-lolcat-LMLPHP

lolcat test.sh

其它综合-有趣的linux命令行工具-lolcat-LMLPHP

echo I ❤ Linux | lolcat
figlet I Love Linux | lolcat

其它综合-有趣的linux命令行工具-lolcat-LMLPHP

apt-get figlet
yum install figlet
dnf install figlet
 echo I ❤ Linux  | lolcat -a -d 500

其它综合-有趣的linux命令行工具-lolcat-LMLPHP

man ls | lolcat

其它综合-有趣的linux命令行工具-lolcat-LMLPHP

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

其它综合-有趣的linux命令行工具-lolcat-LMLPHP

alias lolls="ls -l | lolcat"
lolls
05-11 15:12