![](https://seccdn.libravatar.org/avatar/c5c698efdc18a735e16013c54aa26395.jpg?s=120&d=mm&r=g)
24 Oct
2001
24 Oct
'01
22:08
In /etc/profile.local I have PS1 defined as PS1=`echo '\n\h:\033[1m$PWD\033[0m\n# '` <- for root (if UID = 0) PS1=`echo '\n\h:\033[1m$PWD\033[0m\n> '` <- for others How do I change the command line prompt when I "su" as opposed to "su -"? Sorry for the newbie question ...