Centos中下载yum源安装sl实现跑火车

Centos中下载yum源安装sl实现跑火车

  • 描述

sl命令不同于ls命令,sl命令是以动画形式呈现小火车的趣味性命令,虽无实用价值,但亦可陶冶情操,愉悦心情。

  • 安装
##下载yum源(Centos 7 为例)
[root@localhost ~]# wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/epel-release-7-9.noarch.rpm
##安装yum源
[root@localhost ~]# yum install -y epel-release-7-9.noarch.rpm
##安装sl命令
[root@localhost ~]# yum install -y sl

注意:安装过程需要联网,其次我这里系统是 Centos 7 版本,如果是 Centos 6 版本可以点击下载对应yum源并安装该yum源,即可yum安装sl命令。

  • 演示
[root@localhost ~]# sl

这里写图片描述

猜你喜欢

转载自blog.csdn.net/Sunny_Future/article/details/80629673