I use PS=$ to change the shell prompt to $, but when I restart the shell, I have to do it again. Is there a way to change the shell prompt permanently?
Yes, change the PS1 variable in your $HOME/.bashrc.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago