非常有趣linux图形及动画显示-菜鸟提升兴趣必看!

(一)生成奔跑着的火车有趣动画:


1.安装epel源CENTOS6/7根据系统二选一

#wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
#wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

2.安装生成奔跑着的火车的命令sl

#yum install sl -y

3、执行sl生成奔跑着的火车(会动呦)

#sl

wKiom1WSjPSQTNMFAAmFGfK9phI446.gif

4、休息时可以执行如下命令实现类似屏保的效果:

while true;do sl;sleep 3;done

wKiom1WSjjzCryW1ABJ8byQ6YfQ917.gif

man sl可以查看更多功能:

NAME
       sl - cure your bad habit of mistyping
SYNOPSIS
       sl [ -alFc ]
DESCRIPTION
       sl is a highly advanced animation program for curing your bad
       habit of mistyping.
       -a     An accident is occurring. People cry for help.
       -l     Little version
       -F     It flies like the galaxy express 999.
       -c     C51 appears instead of D51.
tags: Linux