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:

  1. Do all of this as root
  2. 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)
  3. 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)
  4. Now, re-login!
Iklan

7 comments so far

  1. diperlukan on

    jadi kerjaan lo itu sebenarnya programmer Java atau admin Linux sih? Atau dua2nya?

  2. haysnaidra on

    izin copy ke weblog aku ya…

  3. michsan on

    gw kerjaannya dua2nya. Programmer Java di Linux dengan kerjaan sampingan Admin Linux juga 😀

  4. mamato on

    Micsan, itu kalimatnya ada yang salah. College, bukan collage. Terus seharusnya Most of my friends and I, bukan yang tertulis. 😀

  5. michsan on

    Mamat, makasih atas infonya. He,he ketahuan grammar gw lagi jelek. 😀 Doumo arigatou, o tomodachi.

  6. iang on

    *baru baca*

    bos.. itu sekripnya knp ditaro di dokumen word segala? bukannya lbh baik ditaro di text file aja? 🙂

  7. michsan on

    Oh iya, gak kepikiran waktu itu 😀 trims masukannya.


Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: