oeasy教您玩转linux010206toilet

简介: oeasy教您玩转linux010206toilet

我们来回顾一下😌
上一部分我们都讲了什么?🤔

用apt查询并下载了figlet
玩了一下字符画
设置了字符画的字体
但是没有修改颜色
这次我们来找找另一个命令toilet

apt search toilet
apt show toilet
除了在apt里面查看,还能在哪查看呢?🙄
软件包网站查询

由于是debian系的软件包,我们去debian.org找
找到网址
    https://www.debian.org/distrib/packages#search_packages
    可以查询范围
        软件包目录名称
        软件包目录描述
        软件包目录源文件⚙️名称
        软件包内容

toilet
下载
sudo apt install toilet
使用
toilet oeasy
查询文档后,发现
figlet的字体flf可以给toilet用
toilett有一种独有字体tlf
字体的位置在/usr/share/figlet
还有很多字体可以在figlet查看,下载,并放到文件夹使用
所有的字体效果图在

http://mewbies.com/geek_fun_files/figlet/figlet_jave.de_zip_only_prev.txt
下载
    进入/usr/share/figlet
    可以使用wget命令
    wget http://www.figlet.org/fonts/acrobatic.flf

我们来欣赏一下各种toilet的效果🤪
复杂代码🤔
换颜色
echo -e "e[01;32m$(toilet -f ascii9 "oeasy")e[00m"

oeasy是文字内容
ascii9是字体
32m是颜色
    可以换成30-37
    30是黑色

快速用字体的名字查看字体效果
find /usr/share/figlet -name "*.tlf" -exec basename {} ; | sed -e "s/..lf$//" | xargs -I{} toilet -f {} {}

这个命令是一个复合的命令
这个命令用到了管道
我们以后也能写出这样的命令

把toilet输出到网页
toilet -f bigmono9 --gay --html "oeasy.org" >> toilet.html firefox toilet
还有什么好玩的呢?🤪
下次再说!👋
上一章010204figlet 参与制作 去做实验 下一章010206sl

目录
相关文章
|
6月前
|
人工智能 Java Linux
[oeasy]python001_先跑起来_python_三大系统选择_windows_mac_linux
[oeasy]python001_先跑起来_python_三大系统选择_windows_mac_linux
32 1
|
Java Linux Shell
[oeasy]教您玩转linux0001 - 先跑起来 🥊
先跑起来 🥊 Python 什么是 Python? Python 很好用 适合初学者 而且在各个领域都很强大 后来居上 下图可以点开 python3 早已有之 最终逆风翻盘 当然 java 也是非常伟大的对手 历史辉煌 三次问鼎 tiobe 霸主之位 LinuxJournal 最喜欢的编程语言 2009-2011 最喜欢的脚本语言 2006-2008、2010、2011 LinuxQuestion.org 会员选择大奖 2007-2010 从零开始 目前浏览器里这个系统是linux 跑的桌面是xfce 这个词的发音为X-f-c-e即四个字母一个一个的
74 0
[oeasy]教您玩转linux0001 - 先跑起来 🥊
|
Web App开发 Ubuntu Unix
oeasy 教您玩转linux 010304 图形界面 xfce
oeasy 教您玩转linux 010304 图形界面 xfce
379 0
|
Linux
oeasy 教您玩转linux 010303文件管理器 nautilus
oeasy 教您玩转linux 010303文件管理器 nautilus
254 0
|
Web App开发 Linux
oeasy 教您玩转 linux 之 010302 火狐浏览器 firefox
oeasy 教您玩转 linux 之 010302 火狐浏览器 firefox
196 0
|
Linux
oeasy 教您玩转 linux 之 010301 电子宠物 pet
oeasy 教您玩转 linux 之 010301 电子宠物 pet
362 0
|
自然语言处理 Linux
oeasy教您玩转linux 010216 随机诗词 fortunezh
我们来回顾一下😌 上一部分我们都讲了什么?🤔 下载fortune 输出重定向到cowsay 多重输出重定向 fortune的细节 有没有中🀄️文的fortune呢 # 搜索一下fortune apt search fortune chinese 找到了,去下载 中🀄️文fortune 下载中文fortune sudo apt install fortune-zh fortune-zh /usr/share/games/fortunes/{tang300,song100}这两个是中🀄️文的是词库 tang300
260 0
|
Linux
oeasy 教您玩转 linux 010215 随机谚语 fortune
oeasy 教您玩转 linux 010215 随机谚语 fortune
241 0
|
存储 Linux
oeasy 教您玩转 linux 010214 画面转文字 asciiview
oeasy 教您玩转 linux 010214 画面转文字 asciiview
328 0
|
Linux Windows Perl
oeasy教您玩转 linux 010212 管道 pipe
oeasy教您玩转 linux 010212 管道 pipe
295 0