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

  • Re: setting defaults for system variables for users who SSH in to z/OS
    ... setting defaults for system variables for users who SSH in to z/OS ... It's a noninteractive shell. ... What if the user's preferred shell is not bash? ... user will need to exit twice to logoff, ...
    (bit.listserv.ibm-main)
  • (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)
  • 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)
  • Re: Calling User Program
    ... Though not strictly an SSH issue, I believe you can also override the 'shell' setting for a designated user. ... /etc/profile (sh & bash) ...
    (SSH)
  • Re: ./convertTable.sh: 8: Syntax error: "(" unexpected
    ... DashAsBinSh webpage above, dash does not recognize the function keyword, ... which I think accounts for the original error. ... Re the bash setlocale warning, I don't know how to account for that. ... When I execute this test script on my system in current bash shell, ...
    (comp.unix.shell)