一、代码雨
[root@localhost ~]# wget https://jaist.dl.sourceforge.net/project/cmatrix/cmatrix/1.2a/cmatrix-1.2a.tar.gz
[root@localhost ~]# tar xvf cmatrix-1.2a.tar.gz
[root@localhost ~]# yum -y install gcc
[root@localhost ~]# yum -y install gcc-c++
[root@localhost ~]# yum -y install make
[root@localhost ~]# cd cmatrix-1.2a
[root@localhost cmatrix-1.2a]#./configure
[root@localhost cmatrix-1.2a]# make install
[root@localhost cmatrix-1.2a]# cmatrix
只要没打错铁定是没问题
效果展示
二、跑火车
yum install -y epel-release #依赖包
yum install -y sl #蒸汽小火车软件本体
运行命令sl
三、跟随鼠标的动物
[root@localhost ~]# yum -y install oneko
[root@localhost ~]# oneko
会在屏幕上出现一个小猫跟着鼠标走
四、xeyes 会在屏幕上出现眼睛
[root@localhost ~]# yum -y install xeyes
[root@localhost ~]# xeyes
五、cowsay 出现一个厉害的牛
[root@localhost ~]# yum -y install cowsay
[root@localhost ~]# cowsay "输入想要说的内容"