bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash -login complains about non-existence of .bashrc


From: Chet Ramey
Subject: Re: bash -login complains about non-existence of .bashrc
Date: Mon, 24 Feb 2003 10:25:38 -0500

> Machine Type: i686-pc-linux-gnu
> 
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
> 
> Description:
>       From the manual page:
> 
>       When an interactive shell that is not  a  login  shell  is
>       started,  bash reads and executes commands from ~/.bashrc,
>       if that file exists.
> 
>       However, running bash -login produces
> 
>       bash: .bashrc: No such file or directory
> 
>       if there is no .bashrc.

Since the documentation is correct -- bash doesn't execute commands from
.bashrc if it's a login shell -- I'd start by looking at your startup
files.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )

Chet Ramey, ITS, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]