Bash promt for root?
Hello,
I can change my bash shell prompt by editing the file in my home directory. I just define a variable PS1. that's ok, but how can I do the same for the root? what file should I edit? :newbie: |
/root/.bashrc or /etc/profile (some distro's use: /etc/bash.bashrc)
Your current prompt for root (= UID 0) is set in /etc/profile (or /etc/bash.bashrc) If you go for the .bashrc solution and /root/.bashrc does not excist, you safely can create it. |
All times are GMT -5. The time now is 08:46 PM. |