Linux有趣命令

TOC

asciiquarium

Asciiquarium是一个基于ASCII 字符的模拟水族馆的界面应用。
运行界面如下:
asciiquarium

ubuntu安装

add-apt-repository ppa:ytvwld/asciiquarium
apt update
apt install asciiquarium

二进制包安装

# 安装CPAN
apt install cpanminus libcurses-perl
cpan Term::Animation
# 下载并安装asciiquarium命令
wget --no-check-certificate http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
tar zxf asciiquarium.tar.gz
cp asciiquarium_1.1/asciiquarium /usr/local/bin && chmod +x /usr/local/bin/asciiquarium

mac安装

# 使用brew工具进行安装
brew install asciiquarium

cmatrix

运行界面如下:
cmatrix

CentOS安装

yum install cmatrix

ubuntu安装

apt install cmatrix

mac安装

# 使用brew工具进行安装
brew install cmatrix

使用方法
语法:cmatrix【选项】【选项参数】
-h:打印命令的用法
-a:异步滚动
-b:开启粗体效果
-B:所有字符使用粗体
-n:关闭字符粗体(覆盖-b-B的效果)
-V:打印版本信息
-C [color]:使用指定颜色(默认绿色)
-r:彩虹模式
-u [delay]:指定屏幕刷新延迟时长(0 - 10,默认 4)

cowsay

一个可以在屏幕上创建一个会说话的牛的工具,也可以换成其他图案。
运行界面如下:
cowsay

CentOS安装

yum install cowsay

ubuntu安装

apt install cowsay

mac安装

# 使用brew工具进行安装
brew install cowsay

hollywood

hollywood是个在终端中显示虚拟的"电影效果"来增强用户体验。它会在终端中显示滚动的文字、彩色效果、动画背景等,以模拟电影中的效果。这个工具通常用于演示、娱乐或者通过终端进行展示。
运行界面如下:
hollywood

CentOS安装

yum install hollywood

ubuntu安装

apt install hollywood

mac安装

# mac没法安装,使用docker镜像来运行
docker pull bcbcarl/hollywood
docker run --rm -it bcbcarl/hollywood

bastet

bastet是# 俄罗斯方块的变种,可在linux上运行和玩耍。
运行界面如下:
bastet

CentOS安装

yum install bastet

ubuntu安装

apt install bastet

mac安装

brew install bastet