> If what you really mean is that .bashrc is not read when you login on a
> text console, then that's covered by bash's man page, which you really
> ought to read. .bash_profile or .profile is read by login shells;
> .bashrc is read only by non-login shells. If you want .bashrc to be read
> by all
> If what you really mean is that .bashrc is not read when you login on a
> text console, then that's covered by bash's man page, which you really
> ought to read. .bash_profile or .profile is read by login shells;
> .bashrc is read only by non-login shells. If you want .bashrc to be read
> by all
Roberto Sanchez wrote:
> Why is it that when I switch to a text console with -- that
> bash does not read in my ~/.bashrc?
>
> When I pull up a terminal in X it works fine (all my command aliases are
> there). And when I log in to a text console, if explicitly type in the
> command 'bash' at
Roberto Sanchez said:
> Why is it that when I switch to a text console with -- that
> bash does not read in my ~/.bashrc?
>
I think .bashrc is for non-login shells? logging into a console
or logging in via ssh/telnet/etc is a login shell. you probably
want ~/.profile ? see the bash manpage
nate
the ~/.bashrc file is read by non-login shells (i.e. xterm or eterm). the
~/.bash_profile file is read by login(1) when you log in to the console.
jordan
On Fri, 21 Feb 2003 16:53:07 -0500
Roberto Sanchez <[EMAIL PROTECTED]> wrote:
> Why is it that when I switch to a text console with -- that
Why is it that when I switch to a text console with -- that
bash does not read in my ~/.bashrc?
When I pull up a terminal in X it works fine (all my command aliases are
there). And when I log in to a text console, if explicitly type in the
command 'bash' at the bash prompt, the new shell reads
6 matches
Mail list logo