前言

相信不少人曾经把ls敲成sl吧,装上这个程序之后,再不小心敲成sl时,就不会显示找不到命令了,还会从终端里开出一辆火车~

安装

[[email protected] game]# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/s/sl-5.02-1.el7.x86_64.rpm
--2018-12-29 10:03:18--  http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/s/sl-5.02-1.el7.x86_64.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 209.132.181.23, 209.132.181.24
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.23|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14244 (14K) [application/x-rpm]
Saving to: ‘sl-5.02-1.el7.x86_64.rpm’

100%[=========================================================>] 14,244      78.6KB/s   in 0.2s   

2018-12-29 10:03:18 (78.6 KB/s) - ‘sl-5.02-1.el7.x86_64.rpm’ saved [14244/14244]

[[email protected] game]# ls
sl-5.02-1.el7.x86_64.rpm
[[email protected] game]# rpm -ivh sl-5.02-1.el7.x86_64.rpm 
warning: sl-5.02-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:sl-5.02-1.el7                    ################################# [100%]
[[email protected] game]# sl

Linux命令之在终端里「开车」

相关文章: