Linux动效: 开火车 + 召唤代码雨!

2022-06-27 17:24:15 浏览数 (1)

01

火车动效

依次运行以下命令即可

1.yum install -y epel-release

2.yum install -y sl

3.while true;do sl;done

02

炫酷代码雨

1.在Centos上,下载资源包: cmatrix-1.2a.tar.gz

资源已放阿里云盘, 需要自取(永久有效):

https://www.aliyundrive.com/s/M9HRzTgdg2a

2.安装gcc软件包

yum -y install gcc

yum -y install gcc-c

yum -y install make

3.进入到cmatrix-1.2a目录下

cd cmatrix-1.2z

4.安装ncurses-devel软件包

yum -y install ncurses-devel

5.编译服务

./configure && make && make install

6.运行: cmatrix (默认绿色)

切换炫酷颜色: cmatrix -b -C cyan

其中 cyan: 蓝绿色

其它支持的颜色: green, red, blue,

white, yellow, cyan, magenta and black

下图是cyan的示例:

文章参考链接:

https://blog.csdn.net/zhaotiannuo_1998/article/details/88122030?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control

https://blog.csdn.net/springyh/article/details/79204695?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control

0 人点赞