Console/SSH/X: How to tell?

S P Arif Sahari Wibowo arifsaha-/E1597aS9LQAvxtiuMwx3w at public.gmane.org
Tue Jun 23 20:21:14 UTC 2009


On Mon, 22 Jun 2009, Lennart Sorensen wrote:
> Use the profile instead of bashrc.  bashrc is used for both 
> interactive and non interactive sessions, while profile should 
> only be interactive.

I believe what make difference is not whether the shell 
interactive or not, but whether the shell is a login shell or 
not. Furthermore it is not that bashrc is run in both cases, 
just many distribution have the profile to run bashrc.

-- 
    ____  ____  ____  ____ (stephan paul) Arif Sahari Wibowo
   /___  /___/ /___/ /___      http://www.arifsaha.com/
  ____/ /     /   / ____/
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list