1 |
Hi, |
2 |
|
3 |
I was surprised to find that in man bash the reference to initialization |
4 |
files is wrong. The bash manual says it reads initialization files from |
5 |
/etc/profile: |
6 |
FILES |
7 |
/bin/bash |
8 |
The bash executable |
9 |
/etc/profile |
10 |
The systemwide initialization file, executed for login shells |
11 |
|
12 |
|
13 |
Where real life uses /etc/bash/bashrc |
14 |
This part is taken from strace dump: strace bash -i |
15 |
open("/etc/bash/bashrc", O_RDONLY|O_LARGEFILE) = 3 |
16 |
|
17 |
I use bash from gentoo package: |
18 |
$ equery belongs /usr/share/man/man1/bash.1.bz2 |
19 |
[ Searching for file(s) /usr/share/man/man1/bash.1.bz2 in *... ] |
20 |
app-shells/bash-3.2_p17 (/usr/share/man/man1/bash.1.bz2) |
21 |
|
22 |
$ equery belongs /bin/bash |
23 |
[ Searching for file(s) /bin/bash in *... ] |
24 |
app-shells/bash-3.2_p17 (/bin/bash) |
25 |
|
26 |
|
27 |
-- |
28 |
Regards. |
29 |
|
30 |
David Harel, |
31 |
|
32 |
================================== |
33 |
|
34 |
Home office +972 77 7657645 |
35 |
Fax: +972 77 7657645 |
36 |
Cellular: +972 54 4534502 |
37 |
Snail Mail: Amuka |
38 |
D.N Merom Hagalil |
39 |
13802 |
40 |
Israel |
41 |
Email: hareldvd@××××××××××××.com |
42 |
|
43 |
|
44 |
-- |
45 |
gentoo-user@g.o mailing list |