【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 \~#

相关推荐
逆风的蚂蚁1 小时前
linux服务器性能调整怎么落地?我把 CPU 调度、I/O 优先级和内核参数这几个旋钮都拧了一遍
linux·运维·服务器
沫璃染墨5 小时前
从零入门计算机网络系列(十一):HTTP协议进阶——从重定向原理到GET/POST与Fiddler抓包
linux·服务器·开发语言·网络·c++·tcp/ip·html
AI_Lab017 小时前
宝塔用了两年,有没有必要换成轻量方案?
linux·运维·服务器
by209997 小时前
Linux GDB 调试与 CGDB 使用
linux·运维·服务器·经验分享
星恒随风7 小时前
Linux网络编程:应用层协议究竟是什么?从网络计算器到TCP Socket抽象基类完整实现
linux·网络·笔记·tcp/ip
feng_you_ying_li10 小时前
linux之网络层
linux·运维·网络
未来之窗软件服务10 小时前
Linux 运维日志删除的多种方式—东方仙盟
linux·运维·服务器·仙盟创梦ide·东方仙盟
小雉系统10 小时前
BcoreOS实战:用一个升级包,让Rocky Linux跑进Debian服务器
linux·运维·服务器·debian
thethefighter10 小时前
快速预览Word、WPS秒开,支持空格弹窗
linux·word·wps·快速预览·空格弹窗·nhdeepview
用户83514140494911 小时前
把日志和寄存器值喂给AI做故障定位,我的实际问法
linux·ubuntu