-1

The .profile file includes a statement to add the $HOME/bin directory to the PATH (if that bin directory exists). This is not being executed on my bash login.

If I manually load the .profile file

. .profile 

then the PATH is set.

On session start, the .bashrc file is read. It includes a statement to read the .bash_aliases file if it exists, and I can see that the aliases are set.

The .profile file includes a statement to read the .bashrc file if it exists so I assume that the bash init should read the .profile where it is now reading the .bashrc.

This isn't happening. Please advise.

Thanks.

  • I am not filing bug reports to LG just because my TV does not broadcast cable channels and netflix for free... – Rui F Ribeiro Apr 20 '18 at 14:01
0

Please see this excellent answer from @filipe-brandenburger on this site.

debian : read order of bash session configuration files inconsistent

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.