From: Xi Shen <davidshen84@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] my gentoo wont read .bashrc automatically
Date: Thu, 3 Sep 2009 08:59:37 +0800 [thread overview]
Message-ID: <53e35fd50909021759s40a8b9bexe6ed8a60f471c397@mail.gmail.com> (raw)
In-Reply-To: <200909021415.44371.alan.mckinnon@gmail.com>
thanks guy, i got it ;)
On Wed, Sep 2, 2009 at 8:15 PM, Alan McKinnon<alan.mckinnon@gmail.com> wrote:
> On Wednesday 02 September 2009 14:02:26 Dale wrote:
>> Xi Shen wrote:
>> > where is the bash_profile? i cannot find it on my gentoo.
>>
>> root@smoker / # locate bash_profile
>> /etc/skel/.bash_profile
>> /usr/portage/app-shells/bash/files/dot-bash_profile
>> /usr/portage/media-tv/mythtv/files/bash_profile
>> /home/dale/.bash_profile
>> /home/dale2/.bash_profile
>> root@smoker / #
>>
>> I think the one in /etc/skel/ is the one you are looking for. I posted
>> the command so you would know how I found it. ;-)
>
> Changing it now won't do him any good - the one on skel is just a template
> file copied over to the new home dir when a user is created.
>
> He'll have to diff the files and apply the bits he wants to his own
> .bash_profile
>
> Or do the same to /etc/profile* to have it apply to all users as a global
> default
>
> --
> alan dot mckinnon at gmail dot com
>
>
--
Best Regards,
David Shen
http://twitter.com/davidshen84
next prev parent reply other threads:[~2009-09-02 19:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-01 12:09 [gentoo-user] my gentoo wont read .bashrc automatically Xi Shen
2009-09-01 12:24 ` Renat Golubchyk
2009-09-01 21:15 ` Alan McKinnon
2009-09-02 11:28 ` Xi Shen
2009-09-02 12:02 ` Dale
2009-09-02 12:15 ` Alan McKinnon
2009-09-03 0:59 ` Xi Shen [this message]
2009-09-02 12:04 ` Xavier Parizet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53e35fd50909021759s40a8b9bexe6ed8a60f471c397@mail.gmail.com \
--to=davidshen84@googlemail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox