User Tools

Site Tools


linux:bash_print_banner_and_title
#!/bin/bash
 
#
# Color definition
#
red='\033[0;31m' ; bred='\033[1;31m' ; green='\033[0;92m' ; blue='\033[0;36m' ; bold='\033[1m' ; normal='\033[0m'
#
# Function banner
#
banner () {
echo -e "${blue}__  __     _____ _ _"           
echo -e "${blue}\ \/ /    |  ___(_) | ___  ___" 
echo -e "${blue} \  / ___ | |_  | | |/ _ \/ __|"
echo -e "${blue} /  \ ___ |  _| | | |  __/\__ \\"
echo -e "${blue}/_/\_\    |_|   |_|_|\___||___/"
}
#
# Function title
#
title () { printf "\nYour title goes here${normal}\n\n"; }
#
# Execute banner and title
#
banner
title
linux/bash_print_banner_and_title.txt · Last modified: 12/01/2024 15:00 by Allan