Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: preacher on 10 December 2002, 00:10

Title: Easy *nix question
Post by: preacher on 10 December 2002, 00:10
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?
Title: Easy *nix question
Post by: voidmain on 10 December 2002, 02:00
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".