Operating Systems > Linux and UNIX

Easy *nix question

(1/1)

preacher:
When logged in at the shell, I can see

[preacher@badconnections preacher]$
or
[root@badconnections preacher]#

What do I have to configure so that only the $ and the # are visible, like in freeBSD?

voidmain:
The same thing you have to configure in every other OS that uses bash, the "PS1" environment variable. Probably in /etc/bashrc (or just set it to whatever you want for your userid only in your ~/.bashrc). See "man bash".

Navigation

[0] Message Index

Go to full version