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

相关推荐
A小辣椒20 小时前
TShark:Wireshark CLI 功能
linux
A小辣椒1 天前
TShark:基础知识
linux
AlfredZhao1 天前
OCI 明明分配了 200G 系统盘,为什么 df 只看到 30G?
linux·oci
AlfredZhao2 天前
vi 删除指定范围的行,不用再反复按 dd
linux·vi
用户9718356334662 天前
银河麒麟 KY10 申威(SW64) 安装 nginx-1.16.1-2.p01.ky10.sw_64.rpm 详细步骤
linux
猪脚踏浪2 天前
linux 拷贝文件或目录到指定的位置
linux
摇滚侠3 天前
Linux CentOS7 rpm 安装 MySQL 5.7
linux·运维·mysql
bush43 天前
嵌入式linux学习记录十四、术语
linux·嵌入式
载数而行5203 天前
Linux 11 动态监控指令top
linux
不会C语言的男孩3 天前
Linux 系统编程 · 第 8 章:进程基础
linux·c语言