Fancy and useful bash prompt

Is your old bash prompt a bit “outdated”? Ok, let’s give it some spice.

Open your


/etc/profile

and throw the following line in (no linebreak):


export PS1="\[\033[1;32m\][\$(date +%H:%M)]\[\033[0;36m\][\u@\[\033[0;31m\]\h:\[\033[1;34m\]\w]\[\033[0m\]"

Save, close the file and issue the following command:


source /etc/profile

What do you get? Well…something like this:


[18:05][root@moveaway:/home]

It’s:


[HH:MM][user@hostname:/current_dir]

Have a nice and colorful day!

Shutdown Day

Be part of one of the biggest global experiments ever to take place on the Internet. The idea behind Shutdown Day is to find out how many people can go without a computer for one whole day, and what will happen if we all participate!

Shutdown your computer on 03 May 2008 and find out!

Come dire…attesto il mio endorsment. Yes, I can!

P.S.

Non ditelo ai miei clienti…