【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 小时前
Ubuntu 20.04 + ROS Noetic 源码安装 libfranka 0.8.0 和 franka_ros 0.8.0 完整教程
linux·运维·ubuntu
ljs6482739512 小时前
Linux运维实操:vi编辑器永久配置静态IP(CentOS系列)
linux·运维·编辑器
dddwjzx2 小时前
嵌入式Linux C应用编程入门——高级I/O
linux·嵌入式
Waay4 小时前
Linux 三个核心环境变量配置文件、作用域、生效方式完整梳理
linux·运维·学习·云原生·容器
星空语4 小时前
音频001_Android+Linux车载/手机音频全链路分层架构图
android·linux·音视频
携程DBA4 小时前
数据库软限制相关研究
linux·mysql·性能
huy1n94 小时前
Ubuntu 22.04部署Claude Code并接入DeepSeek-V4模型完整教程
linux·ubuntu·deepseek·claude code
jieyucx4 小时前
Shell实战:无限循环监控Nginx服务,异常自动重启+双份日志留存
linux·运维·nginx·自动化·shell
ICECREAM5 小时前
I/O 多路复用完全指南 —— select、poll、epoll
linux
进阶的猪5 小时前
Linux 内核移植过程学习
linux·学习