[PLUG] bash environment when ssh'ing?

Larry Brigman larry.brigman at gmail.com
Wed Jun 30 00:39:57 UTC 2021


I had something similar on a Centos 7 system and found that my login shell
was /bin/sh.
Even though /bin/sh was linked to bash, it acted more like a Bourne shell
and wasn't acting on my .bashrc or .bash_profile.

On Tue, Jun 29, 2021 at 3:09 PM Reid <nrwahl at protonmail.com> wrote:

> Does your ~/.bash_profile not source ~/.bashrc? Mine (Fedora) does by
> default but maybe yours is different.
>
>
> https://unix.stackexchange.com/questions/332531/why-does-remote-bash-source-bash-profile-instead-of-bashrc
>
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Tuesday, June 29, 2021 3:00 PM, Russell Senior <
> russell at personaltelco.net> wrote:
>
> > I noticed that my attempt to keep my shell history indefinitely was
> > thwarted. My .bashrc has HISTFILESIZE=-1 and HISTSIZE=-1, but when I
> > ssh in to the box and run "echo $HISTFILESIZE " I mysteriously get
> > 500. I don't currently understand why and I have not yet dug into
> > serious research yet.
> >
> > Does anyone happen to know?
> >
> >
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > Russell Senior
> > russell at personaltelco.net
>
>
>



More information about the PLUG mailing list