Linux-镂空字-文字处理-figlet

[caption id="attachment_102" align="alignnone" width="637"]<img src="https://ipsec.in/wp-content/uploads/2017/09/截图_2017-09-17_22-07-14.png" alt="" width="637" height="626" class="size-full wp-image-102" /> showfigfonts[/caption]


文字的显示效果不太好  请看图片

如何安装
Fedora 26

➜  ~ dnf install figlet -y
上次元数据过期检查:1:55:34 前,执行于 2017年09月17日 星期日 20时21分28秒。
软件包 figlet-2.2.5-11.fc26.x86_64 已安装,跳过
依赖关系解决。
无需任何处理。
完毕!
➜  ~



[caption id="attachment_104" align="alignnone" width="709"]<img src="https://ipsec.in/wp-content/uploads/2017/09/截图_2017-09-17_22-10-52.png" alt="" width="709" height="208" class="size-full wp-image-104" /> figlet -big Hello World[/caption]




➜  ~ figlet -f big Hello World
 _    _      _ _        __          __        _     _
| |  | |    | | |       \ \        / /       | |   | |
| |__| | ___| | | ___    \ \  /\  / /__  _ __| | __| |
|  __  |/ _ \ | |/ _ \    \ \/  \/ / _ \| '__| |/ _` |
| |  | |  __/ | | (_) |    \  /\  / (_) | |  | | (_| |
|_|  |_|\___|_|_|\___/      \/  \/ \___/|_|  |_|\__,_|


➜  ~



OpenWrt 登陆页面
<img src="https://ipsec.in/wp-content/uploads/2017/09/截图_2017-09-17_22-12-21.png" alt="" width="601" height="358" class="alignnone size-full wp-image-105" />

figlet -f banner OpenWrt

[caption id="attachment_106" align="alignnone" width="967"]<img src="https://ipsec.in/wp-content/uploads/2017/09/截图_2017-09-17_22-14-49.png" alt="" width="967" height="948" class="size-full wp-image-106" /> figlet -f banner OpenWrt[/caption]



➜  ~ figlet -f standard OpenWrt
  ___                __        __    _
 / _ \ _ __   ___ _ _\ \      / / __| |_
| | | | '_ \ / _ \ '_ \ \ /\ / / '__| __|
| |_| | |_) |  __/ | | \ V  V /| |  | |_
 \___/| .__/ \___|_| |_|\_/\_/ |_|   \__|
      |_|
➜  ~ figlet -f big OpenWrt
  ____               __          __   _
 / __ \              \ \        / /  | |
| |  | |_ __   ___ _ _\ \  /\  / / __| |_
| |  | | '_ \ / _ \ '_ \ \/  \/ / '__| __|
| |__| | |_) |  __/ | | \  /\  /| |  | |_
 \____/| .__/ \___|_| |_|\/  \/ |_|   \__|
       | |
       |_|
➜  ~ figlet -f small OpenWrt
  ___              __      __   _
 / _ \ _ __  ___ _ \ \    / / _| |_
| (_) | '_ \/ -_) ' \ \/\/ / '_|  _|
 \___/| .__/\___|_||_\_/\_/|_|  \__|
      |_|
➜  ~ figlet -f term OpenWrt
OpenWrt
➜  ~ figlet -f bubble OpenWrt
  _   _   _   _   _   _   _
 / \ / \ / \ / \ / \ / \ / \
( O | p | e | n | W | r | t )
 \_/ \_/ \_/ \_/ \_/ \_/ \_/
➜  ~ figlet -f block OpenWrt

  _|_|                                  _|          _|              _|
_|    _|  _|_|_|      _|_|    _|_|_|    _|          _|  _|  _|_|  _|_|_|_|
_|    _|  _|    _|  _|_|_|_|  _|    _|  _|    _|    _|  _|_|        _|
_|    _|  _|    _|  _|        _|    _|    _|  _|  _|    _|          _|
  _|_|    _|_|_|      _|_|_|  _|    _|      _|  _|      _|            _|_|
          _|
          _|
➜  ~ figlet -f banner OpenWrt
#######                      #     #
#     # #####  ###### #    # #  #  # #####  #####
#     # #    # #      ##   # #  #  # #    #   #
#     # #    # #####  # #  # #  #  # #    #   #
#     # #####  #      #  # # #  #  # #####    #
#     # #      #      #   ## #  #  # #   #    #
####### #      ###### #    #  ## ##  #    #   #

➜  ~


➜  ~ figlist
Default font: standard
Font directory: /usr//share/figlet
Figlet fonts in this directory:
banner
big
block
bubble
digital
ivrit
lean
mini
mnemonic
script
shadow
slant
small
smscript
smshadow
smslant
standard
term
Figlet control files in this directory:
646-ca2
646-ca
646-cn
646-cu
646-de
646-dk
646-es2
646-es
646-fr
646-gb
646-hu
646-irv
646-it
646-jp
646-kr
646-no2
646-no
646-pt2
646-pt
646-se2
646-se
646-yu
8859-2
8859-3
8859-4
8859-5
8859-7
8859-8
8859-9
frango
hz
ilhebrew
jis0201
koi8r
moscow
upper
ushebrew
uskata
utf8
➜  ~


#以显示文字显示效果
➜  ~ showfigfonts
banner :

#####    ##   #    # #    # ###### #####
#    #  #  #  ##   # ##   # #      #    #
#####  #    # # #  # # #  # #####  #    #
#    # ###### #  # # #  # # #      #####
#    # #    # #   ## #   ## #      #   #
#####  #    # #    # #    # ###### #    #



big :
 _     _
| |   (_)
| |__  _  __ _
| '_ \| |/ _` |
| |_) | | (_| |
|_.__/|_|\__, |
          __/ |
         |___/


block :

_|        _|                      _|
_|_|_|    _|    _|_|      _|_|_|  _|  _|
_|    _|  _|  _|    _|  _|        _|_|
_|    _|  _|  _|    _|  _|        _|  _|
_|_|_|    _|    _|_|      _|_|_|  _|    _|




bubble :
  _   _   _   _   _   _
 / \ / \ / \ / \ / \ / \
( b | u | b | b | l | e )
 \_/ \_/ \_/ \_/ \_/ \_/


digital :
+-+-+-+-+-+-+-+
|d|i|g|i|t|a|l|
+-+-+-+-+-+-+-+


ivrit :
                                                            _   _            _
                                                           | |_(_)_ ____   _(_)
                                                           | __| | '__\ \ / / |
                                                           | |_| | |   \ V /| |
                                                            \__|_|_|    \_/ |_|



lean :

    _/
   _/    _/_/      _/_/_/  _/_/_/
  _/  _/_/_/_/  _/    _/  _/    _/
 _/  _/        _/    _/  _/    _/
_/    _/_/_/    _/_/_/  _/    _/




mini :

._ _ o._ o
| | ||| ||



mnemonic :
mnemonic


script :

               o
 ,   __   ,_        _ _|_
/ \_/    /  |  |  |/ \_|
 \/ \___/   |_/|_/|__/ |_/
                 /|
                 \|


shadow :
      |               |
  __| __ \   _` |  _` |  _ \\ \  \   /
\__ \ | | | (   | (   | (   |\ \  \ /
____/_| |_|\__,_|\__,_|\___/  \_/\_/



slant :
         __            __
   _____/ /___ _____  / /_
  / ___/ / __ `/ __ \/ __/
 (__  ) / /_/ / / / / /_
/____/_/\__,_/_/ /_/\__/



small :
               _ _
 ____ __  __ _| | |
(_-< '  \/ _` | | |
/__/_|_|_\__,_|_|_|



smscript :

 ,           ,   _   ,_  o    _|_
/ \_/|/|/|  / \_/   /  | | |/\_|
 \/  | | |_/ \/ \__/   |/|/|_/ |_/
                          (|


smshadow :
               |              |
(_-<  ` \ (_-<   \   _` |  _` |  _ \\ \  \ /
___/_|_|_|___/_| _|\__,_|\__,_|\___/ \_/\_/



smslant :
                 __          __
  ___ __ _  ___ / /__ ____  / /_
 (_-</  ' \(_-</ / _ `/ _ \/ __/
/___/_/_/_/___/_/\_,_/_//_/\__/



standard :
     _                  _               _
 ___| |_ __ _ _ __   __| | __ _ _ __ __| |
/ __| __/ _` | '_ \ / _` |/ _` | '__/ _` |
\__ \ || (_| | | | | (_| | (_| | | | (_| |
|___/\__\__,_|_| |_|\__,_|\__,_|_|  \__,_|



term :
term