Personaliza tu terminal de Kali con figlet y lolcat!

3 min read 1 year ago
Published on Aug 09, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

This tutorial will guide you through personalizing your Kali Linux terminal using two powerful tools: FIGlet and lolcat. By the end of this guide, you'll be able to create custom ASCII art banners that display colorful messages every time you open your terminal.

Step 1: Install FIGlet and lolcat

To begin, you need to install FIGlet and lolcat. These tools will allow you to create text banners and add color to them.

  1. Open your terminal.
  2. Run the following command to install both tools:
    sudo apt install figlet lolcat -y
    

Step 2: Create Your First Banner

Now that you have installed FIGlet and lolcat, let's create a simple text banner.

  1. In the terminal, type the following command to generate a banner:

    figlet "YourMessage"
    

    Replace "YourMessage" with any text you want. For example:

    figlet "TechSupport"
    
  2. To add color to your banner, use the lolcat command:

    figlet "YourMessage" | lolcat
    

Step 3: Explore Available Fonts

FIGlet offers various fonts to customize your banners. To see a list of available fonts:

  1. Type the following command:

    showfigfonts
    
  2. You can specify a font by using the -f option:

    figlet -f fontname "YourMessage"
    

Step 4: Combine Banners

You can create multiple banners and combine them into one command using &&. This allows you to display several messages in sequence.

  1. For example:
    figlet -f slant -c "TechSupport404" | lolcat && figlet -f digital -c "Subscribe to my channel" | lolcat
    

Step 5: Set Up Automatic Display on Terminal Startup

To make your banners appear automatically when you open a terminal, you'll need to edit your shell configuration file.

  1. Open the .zshrc file with your preferred text editor. For example:

    sudo gedit ~/.zshrc
    
  2. Scroll to the bottom of the file and add your banner commands, each on a new line. Avoid using && when adding multiple banners. For example:

    figlet -f slant -c "TechSupport404" | lolcat
    figlet -f digital -c "Welcome!" | lolcat
    
  3. Save and close the file.

Conclusion

You have now personalized your Kali Linux terminal with colorful ASCII art banners using FIGlet and lolcat. The key steps included installing the tools, creating your banners, exploring fonts, combining messages, and setting them to display on terminal startup.

For further customization, consider experimenting with different fonts and colors to reflect your personal style or to convey different messages. Enjoy your newly personalized terminal!