PS1='[\u@192.168.199.158 \W]\$ ' Last login: Sun Jan 25 08:43:07 2015 from 192.168.199.162 clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m' [halcyon@localhost ~]$ PS1='[\u@192.168.199.158 \W]\$ ' [halcyon@192.168.199.158 ~]$ clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m' Login 192.168.199.158 done. Enjoy it. [halcyon@192.168.199.158 ~]$ ll total 0 [halcyon@192.168.199.158 ~]$