系统相关
首页 > 系统相关> > linux Figlet 转换字符字

linux Figlet 转换字符字

作者:互联网

前言

安装

shell> yum install -y figlet

转换字符字

shell> figlet WELCOME
__        _______ _     ____ ___  __  __ _____ 
\ \      / / ____| |   / ___/ _ \|  \/  | ____|
 \ \ /\ / /|  _| | |  | |  | | | | |\/| |  _|  
  \ V  V / | |___| |__| |__| |_| | |  | | |___ 
   \_/\_/  |_____|_____\____\___/|_|  |_|_____|
shell> figlet TEST
 _____ _____ ____ _____ 
|_   _| ____/ ___|_   _|
  | | |  _| \___ \ | |  
  | | | |___ ___) || |  
  |_| |_____|____/ |_|  

不换行

shell> figlet WELCOME TO CLOUD.TENCENT -w200
__        _______ _     ____ ___  __  __ _____   _____ ___     ____ _     ___  _   _ ____ _____ _____ _   _  ____ _____ _   _ _____ 
\ \      / / ____| |   / ___/ _ \|  \/  | ____| |_   _/ _ \   / ___| |   / _ \| | | |  _ \_   _| ____| \ | |/ ___| ____| \ | |_   _|
 \ \ /\ / /|  _| | |  | |  | | | | |\/| |  _|     | || | | | | |   | |  | | | | | | | | | || | |  _| |  \| | |   |  _| |  \| | | |  
  \ V  V / | |___| |__| |__| |_| | |  | | |___    | || |_| | | |___| |__| |_| | |_| | |_| || | | |___| |\  | |___| |___| |\  | | |  
   \_/\_/  |_____|_____\____\___/|_|  |_|_____|   |_| \___/   \____|_____\___/ \___/|____(_)_| |_____|_| \_|\____|_____|_| \_| |_| 

标签:__,字符,shell,_____,____,linux,___,figlet,Figlet
来源: https://blog.csdn.net/sayyy/article/details/121489912