On Sunday 23 September 2007, Mrugesh Karnik wrote:
From man bash:
``When bash is invoked as an interactive login shell, or as a
non-interactive shell with the --login option, it first reads and
executes commands from the file /etc/profile, if that file exists.
After reading that
As Etaoin Shrdlu said, bash does not even start /etc/profile. Below grep
on strace output on bash:
$ grep profile /tmp/bash.trace
$
$ # My comment, it got nothing
$ grep bashrc /tmp/bash.trace
open(/etc/bash/bashrc, O_RDONLY|O_LARGEFILE) = 3
read(3, # /etc/bash/bashrc\n#\n# This file..., 2540) =
Neil Bothwick wrote:
On Wed, 19 Sep 2007 17:03:16 +0200, David Harel wrote:
I was surprised to find that in man bash the reference to initialization
files is wrong. The bash manual says it reads initialization files from
/etc/profile:
FILES
/bin/bash
The bash
On Wed, 19 Sep 2007 17:03:16 +0200, David Harel wrote:
I was surprised to find that in man bash the reference to initialization
files is wrong. The bash manual says it reads initialization files from
/etc/profile:
FILES
/bin/bash
The bash executable
/etc/profile
On Wednesday 19 September 2007, Neil Bothwick wrote:
On Wed, 19 Sep 2007 17:03:16 +0200, David Harel wrote:
Where real life uses /etc/bash/bashrc
This part is taken from strace dump: strace bash -i
open(/etc/bash/bashrc, O_RDONLY|O_LARGEFILE) = 3
It reads both, this is from /etc/profile
On Wed, 2007-09-19 at 17:03 +0200, David Harel wrote:
I was surprised to find that in man bash the reference to
initialization
files is wrong. The bash manual says it reads initialization files
from
/etc/profile:
FILES
/bin/bash
The bash executable
/etc/profile
6 matches
Mail list logo