Cenos7安装小火车程序动画


一:替换安装源

#先安装一下 epel源,因为安装包在epel源中。

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

root@www \~# wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

--2023-09-01 18:51:36-- http://mirrors.aliyun.com/repo/epel-7.repo

正在解析主机 mirrors.aliyun.com (mirrors.aliyun.com)... 2409:8c14:f05:1202:3::3f7, 2409:8c14:f05:1201:3::3dd, 2409:8c14:f05:1202:3::3f6, ...

正在连接 mirrors.aliyun.com (mirrors.aliyun.com)|2409:8c14:f05:1202:3::3f7|:80... 已连接。

已发出 HTTP 请求,正在等待回应... 200 OK

长度:664 application/octet-stream

正在保存至: "/etc/yum.repos.d/epel.repo"

二: 安装sl命令软件

root@www \~# yum install sl -y
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.bupt.edu.cn
* extras: mirrors.bupt.edu.cn
* updates: mirrors.ustc.edu.cn
epel | 4.7 kB 00:00:00
(1/3): epel/x86_64/group_gz | 99 kB 00:00:00
(2/3): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(3/3): epel/x86_64/primary_db | 7.0 MB 00:00:01
正在解决依赖关系
--> 正在检查事务
---> 软件包 sl.x86_64.0.5.02-1.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

三: 执行一下这个小火车命令 sl

查一下帮助发现,这个命令还有一些参数可以用

SL(1) General Commands Manual SL(1)

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.

SEE ALSO

ls(1)

BUGS

It sometimes lists directory contents.

AUTHOR

Toyoda Masashi (mtoyoda@acm.org)


-a 生成一个小人正在呼救的火车

-l 生成一个细长的火车

-F 它飞起来像银河快车 999

-c 出现的是 C51 而不是 D51。

如果输入 sl -alFc


相关推荐
zbyyd18 分钟前
Linux 基础与 Shell 命令
linux·运维·arm开发
起名真的太难了23 分钟前
Linux系统运维与远程管理核心命令速查指南
linux·运维·服务器
tg_xianheyun29 分钟前
阿里云国际账号注册代充值怎么选服务商?
服务器·阿里云·云计算·全球访问优化
xiaoye-duck30 分钟前
《Linux网络编程》吃透 Linux 网络传输全流程:完整梳理局域网通信、封装解包与跨网络传输原理
linux·网络
深念Y32 分钟前
订阅管理及节点过滤实践(技术笔记)
linux·网络·arm·优化·日志·工具·soc
IT小盘33 分钟前
17-AI应用防止越权访问知识库
服务器·网络·windows
酷可达拉斯39 分钟前
自动化运维-Ansible Role详解
linux·运维·服务器·自动化·ansible
为思念酝酿的痛1 小时前
Socket编程--TCP
服务器·网络·tcp/ip
智能运维指南1 小时前
智能体自治运维选型指南:2026年企业如何从“AI辅助”走向“AI自治”
大数据·运维·人工智能
suijishengchengde1 小时前
k8s deployment或statefulset分组关停
运维·kubernetes