Go Smart with REAR (pRay, rEad, leArn, tRy)

5/17/2013

BEAUTIFY THE LOOK OF LINUX UBUNTU TERMINAL

7:43 AM Posted by Vandaime No comments
Bored with the look of a normal terminal?

Try this way...

1)  Open the terminal

2)  Login as super user
sudo su or sudo -i, select one

3)  Enter the password

4)  Install cowsay
apt-get install cowsay

5)  Install  figlet
apt-get install figlet

6)  Install sl
apt-get install sl

7)   Back up file
cp .bashrc.bashrc_backup

8)  Change the display of terminal by way of edit scripts through terminal
nano .bashrc

9)  Type and copy the text below at the bottom of terminal
sl
cowsay -f ghostbusters "I caught you !!!"
echo
figlet "VanDee"
echo "====================vandaime68.blogspot.com===================="
echo -ne "${lightgreen}Today is:\t\t${red}" `date`; echo ""
export PS1="\[\033[1;33m\]\u\[\033[1;37m\]@\[\033[1;32m\]\h\[\033[1;37m\]:\[\03$


THE RESULT IS LIKE THIS
vandaime68.blogspot.com



10) If you do not want a picture of the train at the beginning, erase sl text

11)  If you want to change the picture or writing fonts, see and enter the directory
cd /usr/share/cowsay/cows (for change the picture)
cd /usr/share/figlet (for change the font)

or edit via terminal, type :
sudo nano .bashrc

then will appear the text like this :
sl
cowsay -f ghostbusters "I caught you !!!"
echo
figlet "VanDee"
echo "====================vandaime68.blogspot.com===================="
echo -ne "${lightgreen}Today is:\t\t${red}" `date`; echo ""
export PS1="\[\033[1;33m\]\u\[\033[1;37m\]@\[\033[1;32m\]\h\[\033[1;37m\]:\[\03$


Edit the italic text replace with the image your liking

Example : ghostbusters, replace it with default or duck or eyes or beavis.zen or three-eyes etc.

0 comments:

Post a Comment