Last active
          June 24, 2018 18:06 
        
      - 
      
 - 
        
Save danielnunesdc/cb838ee9cde5ed1c551a21e0af35862e to your computer and use it in GitHub Desktop.  
Revisions
- 
        
danielnunesdc revised this gist
Jun 24, 2018 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -58,4 +58,7 @@ Para conhecer outros parâmetros da ferramenta, digite: ```shell man figlet ``` #### Links: [FIGlet](http://www.figlet.org/)  - 
        
danielnunesdc created this gist
Jun 24, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,61 @@ # FIGlet `FIGlet is a program for making large letters out of ordinary text` FIGlet é uma ferramenta muito usada para customizar scripts. Ele converte o texto inserido em uma versão com vários caracteres, formando fontes maiores e bem interessantes. Para instalar o FIGlet em distribuições linux baseadas no Debian, abra o terminal e digite: ```shell sudo apt-get install figlet ``` Para instalar em outros sistemas, acesse o site oficial do projeto **[FIGlet](http://www.figlet.org/)**. ### Modo de usar: Gerando um exemplo simples usando meu nome. No seu terminal digite: ```shell figlet Daniel Nunes ``` A saída do programa foi: ```shell ____ _ _ _ _ | _ \ __ _ _ __ (_) ___| | | \ | |_ _ _ __ ___ ___ | | | |/ _` | '_ \| |/ _ \ | | \| | | | | '_ \ / _ \/ __| | |_| | (_| | | | | | __/ | | |\ | |_| | | | | __/\__ \ |____/ \__,_|_| |_|_|\___|_| |_| \_|\__,_|_| |_|\___||___/ ``` Você pode centralizar o texto usando o parâmetro `-c`. ```shell figlet -c Daniel Nunes ____ _ _ _ _ | _ \ __ _ _ __ (_) ___| | | \ | |_ _ _ __ ___ ___ | | | |/ _` | '_ \| |/ _ \ | | \| | | | | '_ \ / _ \/ __| | |_| | (_| | | | | | __/ | | |\ | |_| | | | | __/\__ \ |____/ \__,_|_| |_|_|\___|_| |_| \_|\__,_|_| |_|\___||___/ ``` Também é possível trocar a fonte, mas antes verifique quais fontes você tem disponíveis em sua máquina: ```shell ls /usr/share/figlet/*.flf ``` Caso deseje mais fontes, você pode conferir os modelos das fontes disponíveis em [Exemplos de fontes](http://www.figlet.org/examples.html) e baixa-las em [Banco de Fontes](http://www.figlet.org/fontdb.cgi). Para usar as fontes passe o parâmetro `-f` e o nome da fonte, como exemplo a fonte `slant`: ```shell figlet -cf slant Daniel Nunes ____ _ __ _ __ / __ \____ _____ (_)__ / / / | / /_ ______ ___ _____ / / / / __ `/ __ \/ / _ \/ / / |/ / / / / __ \/ _ \/ ___/ / /_/ / /_/ / / / / / __/ / / /| / /_/ / / / / __(__ ) /_____/\__,_/_/ /_/_/\___/_/ /_/ |_/\__,_/_/ /_/\___/____/ ``` Para conhecer outros parâmetros da ferramenta, digite: ```shell man figlet ```