cmatrix秀一波骚操作

cmatrix官网 https://www.asty.org/cmatrix/


cmatrix 展示效果

linux下安装 cmatrix 流程
wget https://www.asty.org/cmatrix2/dist/cmatrix-1.2a.tar.gz
tar -zxvf cmatrix-1.2a.tar.gz
cd cmatrix-1.2a
yum install ncurses-devel
./configure && make && make install

cmatrix 参数配置选项
Usage: cmatrix -[abBfhlsVx] [-u delay] [-C color]
-a: Asynchronous scroll
-b: Bold characters on
-B: All bold characters (overrides -b)
-f: Force the linux $TERM type to be on
-l: Linux mode (uses matrix console font)
-o: Use old-style scrolling
-h: Print usage and exit
-n: No bold characters (overrides -b and -B, default)
-s: "Screensaver" mode, exits on first keystroke
-x: X window mode, use if your xterm is using mtx.pcf
-V: Print version information and exit
-u delay (0 - 10, default 4): Screen update delay
-C [color]: Use this color for matrix (default green)
用法:cmatrix-[abBfhlsVx][-u延迟][-C颜色]
-a: 异步滚动
-b: 加粗字符
-B: 所有粗体字符(覆盖-B)
-f: 强制linux$TERM类型为on
-l: Linux模式(使用矩阵控制台字体)
-o: 使用旧式滚动
-h: 打印使用和退出
-n: 没有粗体字符(覆盖-b和-b,默认)
-s: “屏幕保护”模式,在第一次按键时退出
-x: x窗口模式,如果您的xterm正在使用mtx.pcf公司
-V: 打印版本信息并退出
-u延迟(0-10,默认值4):屏幕更新延迟
-C[color]:将此颜色用于矩阵(默认为绿色)

配置 linux 连接动画

配置linux服务器连接动画,成功连接之后显示代码雨,之后按任意键退出代码雨

  1. 打开 .bashrc 文件 vim ~/.bashrc
  2. 在末尾处追加 cmatrix -b -u 3 -C green -s

ps : 在运行状态的时候按键 0-9 可以更改代码雨流动的速度

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值