Showing posts with label banner. Show all posts
Showing posts with label banner. Show all posts

How to create banner in bash


Install figlet

  
sudo apt update
sudo apt install figlet
    
figlet is a fun command-line tool that turns regular text into large ASCII art-style letters. It’s mostly used for decoration in terminal scripts, welcome messages, or just to make things look cooler in the shell.

Bash Code

  
#!/bin/bash
# Define colors for printouts
GREEN="\033[1;32m"
BLUE="\033[1;34m"
YELLOW="\033[1;33m"
RESET="\033[0m"
CYAN="\033[1;36m"
MAGENTA="\033[1;35m"

# Impressive entry dialog
clear
echo -e "${BLUE}"
figlet -c 'PARKLIZE'
echo -e "${RESET}"
sleep 3  # Pause for a few seconds to allow the user to read the banner