Nick Rout wrote:

> When I log in to a console I get a different prompt to an xterm/konsole
> etc.
> 
> I know one comes from ~/.bashrc, but where does the other one come from?

For bash, try looking in:

~/.profile (user-specific)

or

/etc/profile (global)

For csh there is ~/.cshrc, ~/.login, /etc/csh.cshrc, /etc/csh.login

.login is only executed when you log in (ie supply username/password); 
.cshrc is also executed when you open an xterm.  That's my understanding 
anyway.

I don't know about other shells.

Cheers,

- Dave

http://www.digistar.com/~dmann/


Reply via email to