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

相关推荐
_Voosk2 小时前
FreeBSD 使用代理运行命令
linux·运维·freebsd
G_dou_2 小时前
Linux 搭建 Rust 开发环境:从 rustup 安装到 Cargo 镜像
linux·rust
bsauce3 小时前
【kernel exploit】CVE-2026-23271 perf_event竞态UAF漏洞-ROP提权
linux·linux内核·内核漏洞·内核漏洞利用
Hehuyi_In4 小时前
从优雅到爆烈 —— Linux全力回收内存的一生
linux·内核·内存·memory·回收
杨充4 小时前
1.1 数据编码设计原理
linux·运维·网络·底层原理·数据编码
fan_music4 小时前
Linux I/O
linux
Java小白笔记4 小时前
Linux 手动部署 Oracle JDK 17 完全指南
java·linux·oracle
慵懒的猫mi5 小时前
deepin 25部署x11vnc+xrdp,实现vnc和mstsc双重访问
linux·windows·开源软件·deepin
剑神一笑6 小时前
Linux lsof 命令深度解析:从文件描述符到进程追踪
linux·运维·php