before doing it all should backup .bashrc file with the command
$ Cp .bashrc .bashrc_old
.bashrc file has been backed up and very safe
and then install the required packages with the command
$sudo apt-get update
$sudo apt-get install figlet
$sudo apt-get install cowsay
if all the packages have been installed perfectly
You can edit the terminal, enter this command
$gedit .bashrc
and copy the following script, and place it at the bottom :
blue='\e[1;34m'
green='\e[0;23m'
purple='\e[1;35m'
cyan='\e[1;36m'
red='\e[1;31m'
echo -e $green'================================================================================'
echo -e $red[+] $cyan"$HOSTNAME uptime is "$red[+]$cyan;uptime | awk /'up/ {print $3,$4,$5,$6,$7,$8,$9,$10}'
uname -r
uname -v -s
echo -e $red[+]$cyan Today :$red[+]$cyan
date
echo -e $green'================================================================================'
#Figlet nama
echo -e $green
figlet -f slant "# beamx #"
echo -e $red '__________________________________'
and save it
other scripts that you can try :
/usr/games/cowsay -f eyes "be carefull"
echo
figlet “DREAM CODER”
echo "=================================================================== "
echo -ne "${lightgreen}Today is:\t\t${red}" `date`; echo ""
echo -e "${lightgreen}Kernel Information: \t${red}" `uname -smr`
export PS1="\[\033[1;33m\]\u\[\033[1;37m\]@\[\033[1;32m\]\h\[\033[1;37m\]:\[\033[1;31m\]\w \[\033[1;36m\]\\$ \[\033[0m\]";
You can be creative as you
ber survived experiment
thanks you
screen shot
$ Cp .bashrc .bashrc_old
.bashrc file has been backed up and very safe
and then install the required packages with the command
$sudo apt-get update
$sudo apt-get install figlet
$sudo apt-get install cowsay
if all the packages have been installed perfectly
You can edit the terminal, enter this command
$gedit .bashrc
and copy the following script, and place it at the bottom :
blue='\e[1;34m'
green='\e[0;23m'
purple='\e[1;35m'
cyan='\e[1;36m'
red='\e[1;31m'
echo -e $green'================================================================================'
echo -e $red[+] $cyan"$HOSTNAME uptime is "$red[+]$cyan;uptime | awk /'up/ {print $3,$4,$5,$6,$7,$8,$9,$10}'
uname -r
uname -v -s
echo -e $red[+]$cyan Today :$red[+]$cyan
date
echo -e $green'================================================================================'
#Figlet nama
echo -e $green
figlet -f slant "# beamx #"
echo -e $red '__________________________________'
and save it
other scripts that you can try :
/usr/games/cowsay -f eyes "be carefull"
echo
figlet “DREAM CODER”
echo "=================================================================== "
echo -ne "${lightgreen}Today is:\t\t${red}" `date`; echo ""
echo -e "${lightgreen}Kernel Information: \t${red}" `uname -smr`
export PS1="\[\033[1;33m\]\u\[\033[1;37m\]@\[\033[1;32m\]\h\[\033[1;37m\]:\[\033[1;31m\]\w \[\033[1;36m\]\\$ \[\033[0m\]";
You can be creative as you
ber survived experiment
thanks you
screen shot
COMMENTS