1 |
thanks guy, i got it ;) |
2 |
|
3 |
|
4 |
On Wed, Sep 2, 2009 at 8:15 PM, Alan McKinnon<alan.mckinnon@×××××.com> wrote: |
5 |
> On Wednesday 02 September 2009 14:02:26 Dale wrote: |
6 |
>> Xi Shen wrote: |
7 |
>> > where is the bash_profile? i cannot find it on my gentoo. |
8 |
>> |
9 |
>> root@smoker / # locate bash_profile |
10 |
>> /etc/skel/.bash_profile |
11 |
>> /usr/portage/app-shells/bash/files/dot-bash_profile |
12 |
>> /usr/portage/media-tv/mythtv/files/bash_profile |
13 |
>> /home/dale/.bash_profile |
14 |
>> /home/dale2/.bash_profile |
15 |
>> root@smoker / # |
16 |
>> |
17 |
>> I think the one in /etc/skel/ is the one you are looking for. I posted |
18 |
>> the command so you would know how I found it. ;-) |
19 |
> |
20 |
> Changing it now won't do him any good - the one on skel is just a template |
21 |
> file copied over to the new home dir when a user is created. |
22 |
> |
23 |
> He'll have to diff the files and apply the bits he wants to his own |
24 |
> .bash_profile |
25 |
> |
26 |
> Or do the same to /etc/profile* to have it apply to all users as a global |
27 |
> default |
28 |
> |
29 |
> -- |
30 |
> alan dot mckinnon at gmail dot com |
31 |
> |
32 |
> |
33 |
|
34 |
|
35 |
|
36 |
-- |
37 |
Best Regards, |
38 |
David Shen |
39 |
|
40 |
http://twitter.com/davidshen84 |