Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 20:55:21 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Peter <petermatulis@yahoo.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))
Message-ID:  <20060711175521.GA85462@gothmog.pc>
In-Reply-To: <20060711163919.26744.qmail@web60017.mail.yahoo.com>
References:  <20060711163111.GA246@gothmog.pc> <20060711163919.26744.qmail@web60017.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-07-11 12:39, Peter <petermatulis@yahoo.ca> wrote:
> --- Giorgos Keramidas <keramida@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@gothmog ~]$ echo $SHELL
    /usr/local/bin/bash
    [ncvs@gothmog ~]$




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060711175521.GA85462>