Terminali personalizzati Debian

 

Terminali personalizzati Debian, gli altri si possono trovare quà e quà.

 

 

 

Requisiti: installare figlet e toilet
 

# Colori:

black='\e[0;30m'
blue='\e[0;34m'
green='\e[0;32m'
cyan='\e[0;36m'
red='\e[0;31m'
purple='\e[0;35m'
brown='\e[0;33m'
lightgray='\e[0;37m'
darkgray='\e[1;30m'
lightblue='\e[1;34m'
lightgreen='\e[1;32m'
lightcyan='\e[1;36m'
lightred='\e[1;31m'
lightpurple='\e[1;35m'
yellow='\e[1;33m'
white='\e[1;37m'
nc='\e[0m'

# Prompt:

PS1='\[\033[01;32m\]\u\[\033[01;34m\]-\[\033[01;31m\]\h\[\033[00;34m\]{\[\033[01;34m\]\w\[\033[00;34m\]}\[\033[01;32m\]:\[\033[00m\]'

# Informazioni di Sistema

clear
echo -e "${lightred}";toilet --gay -f pagga "          Debian Box           ";
echo
echo
echo -ne "${lightblue}Oggi è:\t\t${lightblue}" `date`; echo ""
echo -e "${lightblue}Kernel : \t${lightblue}" `uname -smr`
echo
echo -e "${lightred}Debian  GNU/Linux ${NC}" `cat /etc/debian_version`
echo -e "${lightblue}"; cal -A 1

 

 

# Colori:

black='\e[0;30m'
blue='\e[0;34m'
green='\e[0;32m'
cyan='\e[0;36m'
red='\e[0;31m'
purple='\e[0;35m'
brown='\e[0;33m'
lightgray='\e[0;37m'
darkgray='\e[1;30m'
lightblue='\e[1;34m'
lightgreen='\e[1;32m'
lightcyan='\e[1;36m'
lightred='\e[1;31m'
lightpurple='\e[1;35m'
yellow='\e[1;33m'
white='\e[1;37m'
nc='\e[0m'

# Prompt:

PS1='\[\033[01;32m\]\u\[\033[01;34m\]-\[\033[01;31m\]\h\[\033[00;34m\]{\[\033[01;34m\]\w\[\033[00;34m\]}\[\033[01;32m\]:\[\033[00m\]'

# Informazioni di Sistema:

clear
echo -e "";
echo -e "${red}              █ █ █    █ █ █   █ █ █    █      █      █    █";
echo -e "              █    █   █       █    █   █     █ █     █ █  █";
echo -e "              █    █   █ █ █   █ █ █    █    █   █    █  █ █";
echo -e "              █    █   █       █    █   █   █ █ █ █   █   ██";
echo -e "              █ █ █    █ █ █   █ █ █    █  █       █  █    █";
echo -e "";
echo -e "";
echo -ne "${lightblue}Oggi è:\t\t${lightblue}" `date`; echo ""
echo -e "${lightblue}Kernel : \t${lightblue}" `uname -smr`
echo
echo -e "${lightred}Debian  GNU/Linux ${NC}" `cat /etc/debian_version`
echo -e "${lightblue}"; cal -A1

 

 

PS1='\[\033[01;32m\]\u\[\033[01;34m\]-\[\033[01;31m\]\h\[\033[00;34m\]{\[\033[01;34m\]\w\[\033[00;34m\]}\[\033[01;32m\]:\[\033[00m\]'

rosso='\e[1;31m'
NC='\e[0m'

echo -e "";
echo -e "${rosso}              █ █ █    █ █ █   █ █ █    █      █      █    █";
echo -e "              █    █   █       █    █   █     █ █     █ █  █";
echo -e "              █    █   █ █ █   █ █ █    █    █   █    █  █ █";
echo -e "              █    █   █       █    █   █   █ █ █ █   █   ██";
echo -e "              █ █ █    █ █ █   █ █ █    █  █       █  █    █";
echo -e "";
echo -e "${rosso}Debian  GNU/Linux ${NC}" `cat /etc/debian_version`

 

 

enjoy 😉

Autore: Franco Conidi aka edmond

Senior System Integrator, Network Administrator, Sys Admin Linux, Linux User, Consulente Informatico.

2 pensieri riguardo “Terminali personalizzati Debian”

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *