Re: .bashrc not executed

From: Michael Heiming (michael+USENET@heiming.de)
Date: 04/13/02


From: Michael Heiming <michael+USENET@heiming.de>
Date: Sat, 13 Apr 2002 09:35:11 +0200

Richard E. Silverman (<m1lwuvcut97.fsf@syrinx.oankali.net>):

>>>>>> "RM" == Robert Morelli <morelli@math.utah.edu> writes:
>
> RM> On all my accounts, I have bash as my shell. When I use
> ssh to RM> log in to an account, I find that my .bash_profile
> file is
> RM> executed, but not my .bashrc. Can someone explain how
> this could RM> be?
>
> Because that's what it's supposed to do. Read the bash man page
> for details.
>

Sure, try 'man bash', '/^INVOCATION'

Michael Heiming

--
Remove the +SIGNS case mail bounces.



Relevant Pages

  • (Unix) Login with ssh ... TERM not set.
    ... The account on the target machine I ssh into has sh as a default shell. ... I prefer bash, but don't want to manually invoke 'bash' every time I log in, ...
    (comp.security.ssh)
  • FC3 problem with bash shell
    ... We are having a strange problem with the login shell. ... The accounts are set up either through ldap or nis. ... the shell is bash as well. ...
    (Fedora)
  • Re: .bashrc not executed
    ... >> On all my accounts, I have bash as my shell. ... but why bother since "man bash" has the explanation. ... Okay, a local Unix guru assured me that .bashrc should be read, ... Between login and non-login shells, ...
    (comp.security.ssh)
  • Re: ssh + bash
    ... > I have a very simple question about ssh. ... > bash as my shell. ... When I log in to my account using ssh ...
    (comp.security.ssh)
  • Re: .bashrc not executed
    ... > On all my accounts, I have bash as my shell. ... When I use ssh ... but why bother since "man bash" has the explanation. ...
    (comp.security.ssh)