【RHCA+】boxes命令(艺术框)

" 目录:RHCA+ -> 2 有趣的命令 -> 4 boxes命令(艺术框) "

生成一个艺术框;语法格式:boxes 参数

|--------|-----------|
| 参数 | 作用 |
| -d 动物名 | 显示指定动物举着牌 |

1、安装

root@Server_8_200 \~# vim /etc/yum.repos.d/epel.repo #创建一个epel仓库

epel

name=epel8

baseurl=http://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/

enabled=1

gpgcheck=0

root@Server_8_200 \~# yum clean all #清理旧缓存

root@Server_8_200 \~# yum makecache #建立缓存

root@Server_8_200 \~# yum -y install boxes #安装软件

2、使用

root@Server_8_200 \~# echo "hi" | boxes #要通过管道符传递输入待显示的字,默认样式

/******/

/* hi */

/******/

root@Server_8_200 \~# fortune | boxes -d cat #指定显示猫图像

/\ /\

|`\\,--="=--,//`|

\ ." :'. .': ". /

==) _ : ' : _ (==

|>/O\ _ /O\

| \-"~` _ `~"-/ | jgs

>|`===. \_/ .===`|<

.-"-. \===' | '===/ .-"-.

.--------------------{'. '`}---\, .-'-. ,/---{.'. '}-------------------.

) `"---"` `~-===-~` `"---"` (

( Experience is the worst teacher. It always gives the test first and )

) the instruction afterward. (

'------------------------------------------------------------------------'

root@Server_8_200 \~#

相关推荐
bosins7 小时前
WSL2 启动即崩溃?调整超时参数解决 Docker 阻塞问题
linux·docker·wsl
web守墓人7 小时前
【goed/ui】自定义组件设计思想篇
linux·windows·ui·golang
kuroomi8 小时前
Ingress-Nginx与kubernetes 网络
linux·运维·网络·kubernetes
daemon.qiang8 小时前
国内虚拟机对接 Freedesktop:Fork xserver、自建 Runner 与提交 MR 实战
linux·ubuntu·centos·gitlab·开源软件
2401_869769599 小时前
linux 权限 指令与权限(重启之后)
linux
码农客栈10 小时前
Linux CAN 驱动
linux·驱动开发
GeW11 小时前
红帽RHCE从挂科边缘到一次过,我做对了什么
linux
时空自由民.11 小时前
WSL解决USB 串口连接问题与linux串口权限问题
linux·单片机
OpenPomeloxCommunity11 小时前
Linux驱动基础(三):firmware的声明与加载
linux·操作系统
云计算练习生12 小时前
什么是系统调用?为什么程序访问硬件必须经过它
linux·windows·操作系统·系统调用·操作系统原理