Personaliza tu terminal de Kali con figlet y lolcat!
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.
- Open your terminal.
- 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.
-
In the terminal, type the following command to generate a banner:
figlet "YourMessage"Replace "YourMessage" with any text you want. For example:
figlet "TechSupport" -
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:
-
Type the following command:
showfigfonts -
You can specify a font by using the
-foption: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.
- 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.
-
Open the
.zshrcfile with your preferred text editor. For example:sudo gedit ~/.zshrc -
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 -
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!