I use bash as my shell.

I'm trying to set the bash prompt to display:

ttyC1 [EMAIL PROTECTED]

I've created a .bashrc in the users home directory (in this case root), and
used the following line:

PS1="\l [EMAIL PROTECTED] #"

When I login as root, or any other user for that matter, the default prompt is:

-bash-3.2#

the only way so far that I found to change the prompt is to type 'bash' at the
prompt after login. This is ok, but I know that this should work the first
time I login, without having to issue a standalone command.

I've come to the conclusion that I need to modify another file within the /etc
directory, but what?

TIA,

Jay

Reply via email to