Fancy Colorful Shell
Back in the past when I was in college in Fasilkom University of Indonesia. Most of my friends and I were used to play with Linux shell and its color feature to make shell more fun and enjoyable. I think I’ve already forgot how to make my shell colorful until I goggled and summarized from many sources how to make basic shell information colorful:
Try this:
- Do all of this as root
- Put this script Revision of Color Script to /root/script/color (or anything as you wish) and make sure it is executable by every users (chmod o+x /path/to/the/script)
- Include the file in your home $HOME/.bashrc by doing the following action
- Comment all lines containing “PS1=…”. For example # PS1=’${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ‘
- Put “source /root/script/color” below it (or for global affect, put it on /etc/bash.bashrc)
- Now, re-login!
7 comments so far
Leave a reply
jadi kerjaan lo itu sebenarnya programmer Java atau admin Linux sih? Atau dua2nya?
izin copy ke weblog aku ya…
gw kerjaannya dua2nya. Programmer Java di Linux dengan kerjaan sampingan Admin Linux juga
Micsan, itu kalimatnya ada yang salah. College, bukan collage. Terus seharusnya Most of my friends and I, bukan yang tertulis.
Mamat, makasih atas infonya. He,he ketahuan grammar gw lagi jelek.
Doumo arigatou, o tomodachi.
*baru baca*
bos.. itu sekripnya knp ditaro di dokumen word segala? bukannya lbh baik ditaro di text file aja?
Oh iya, gak kepikiran waktu itu
trims masukannya.