当前位置: 首页 > news >正文

Cenos7安装小火车程序动画


运维Shell脚本小试牛刀(一)

运维Shell脚本小试牛刀(二)

运维Shell脚本小试牛刀(三)::$(cd $(dirname $0); pwd)命令详解

运维Shell脚本小试牛刀(四): 多层嵌套if...elif...elif....else fi_蜗牛杨哥的博客-CSDN博客

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


 

http://www.lryc.cn/news/150755.html

相关文章:

  • Node 执行命令时传参 process.argv
  • 【Vue】快速上手--Vue 3.0
  • PyTorch深度学习遥感影像地物分类与目标检测、分割及遥感影像问题深度学习优化实践技术应用
  • 04、添加 com.fasterxml.jackson.dataformat -- jackson-dataformat-xml 依赖报错
  • 禅道项目管理系统 - 操作使用 (2023版)
  • C++的多重继承
  • ZooKeeper与Paxos
  • Cargo 静态编译
  • 【多线程】有两个线程都能访问n,初始时n为0,⼀个线程执⾏n++,n+=2,另⼀个线程执⾏n+=3,当两个线程都执行完后n可能的值
  • Jtti:如何通过宝塔面板快速安装WordPress博客源码?
  • Windows右键添加用 VSCODE 打开
  • 达梦数据库管理用户和创建用户介绍
  • 使用python,生成数字在图片上的验证码
  • 阿晨的运维笔记 | CentOS部署Docker
  • 自动化运维:Ansible基础与命令行模块操作
  • 深度学习6:自然语言处理-Natural language processing | NLP
  • Mysql多表操作
  • 【leetcode 力扣刷题】数学题之计算次幂//次方:快速幂
  • 【核心复现】基于改进灰狼算法的并网交流微电网经济优化调度(Matlab代码实现)
  • Cannal监听binlog
  • 从零开发JavaWeb入门项目--十天掌握
  • 数据结构——哈希表
  • Kafka3.0.0版本——手动调整分区副本示例
  • 玩客云 线刷Armbian 搭配Alist 阿里云盘 Jellyfin NovaVideoPlayer搞电视墙
  • 9月1日,每日信息差
  • 【大数据】Flink 详解(六):源码篇 Ⅰ
  • ShardingSphere——弹性伸缩原理
  • Linux项目自动化构建工具-make/Makefile
  • Python爬虫实战:自动化数据采集与分析
  • 视频智能分析平台EasyCVR安防视频汇聚平台助力森林公园防火安全的应用方案