aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Jul 11 17:55:44 UTC 2006


On 2006-07-11 12:39, Peter <petermatulis at yahoo.ca> wrote:
> --- Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> > Can you please also send the output of:
> > 
> >     $ ls -ld .bash* .sh* .profile
> 
> $ ls -ld .bash* .sh* .profile
> -rw-rw----  1 peter  users   7.7K Jul 11 09:31 .bash_history
> -rw-rw----  1 peter  users   1.6K Jul  4 15:31 .profile
> -rw-rw----  1 peter  users   975B Jul 29  2005 .shrc

Strange, there is no .bash_profile but you still see .profile is unused?

I just tested here, with the CVS mirroring account I have at this
workstation, by:

    * moving .bash_profile and .bashrc away

    * adding an 'echo' message in its .profile file:

              echo ".profile done"

and when I su(1) to this account, the .profile is used by bash!

    gothmog# su - ncvs
    .profile done
    [ncvs at gothmog ~]$ echo $SHELL
    /usr/local/bin/bash
    [ncvs at gothmog ~]$



More information about the freebsd-questions mailing list