Hello Claudius
El 23/06/12 11:42, Claudius Hubig escribió:
>
> I guess that the SSH connect is a login shell, while the terminal is
> not a login shell (especially if you run it manually).
>
> Hence, if you connect with SSH, Bash will run /etc/profile and
> ~/.profile. My ~/.profile has a section like the following:
>
> # if running bash
> if [ -n "$BASH_VERSION" ]; then
> # include .bashrc if it exists
> if [ -f "$HOME/.bashrc" ]; then
> . "$HOME/.bashrc"
> fi
> fi
>
> which is also in the .profile in /etc/skel/, I therefore assume that
> this is currently shipped with Debian.
>
> I suggest you check whether these files (/etc/profile, ~/.profile,
> ~/.bash_profile) exist and whether they load ~/.bashrc.
>
> Best regards,
>
> Claudius
You are right: I have the ~/.profile file missing. I don't know how can
I miss this file, but it didn't exist at all. I copied this from another
computer and it works.
I don't remember to write or generate "by hand" this ~/.profile. Is it
created automatically?
Thanks for your answer, it was driving me crazy
Best regards