hen...@privatembox.com wrote:
> 
> So, since I am using a login shell, and I have .bashrc created. thus I 
> have to create a .profile to include .bashrc? Am I right?
> 
Yes, I think that's the right way round.

I use ssh a lot and have a 'standard' configuration for all the
systems I ssh into.

On all of them most of my basic environment settings are in .profile
and that calls .bashrc.

Make sure you **don't** have either ~/.bash_profile or ~/.bash_login
as these will be used instead of ~/.profile if they exist.

Note that (according to my understanding anyway) .bashrc should be
used for settings that are needed for interactive shells whereas
.profile is used for settings that are used by all programs not just
interactive ones.

-- 
Chris Green
ยท

Reply via email to