From: Kevin O Riordan (kor at domain compsoc.com)
Date: Wed 24 Oct 2001 - 14:54:48 IST
On Sweetmorn, the 4th day of The Aftermath, John Gaughan concluded:
> On Tue, 23 Oct 2001, Gavin McCullagh wrote:
> > On Mon, 22 Oct 2001, Kevin O Riordan wrote:
> > >
> > > strace bash -login -c 'logout' 2>&1 | grep '^open'
> > > That should show all the files bash sources on login ...
> Not quite all, since your supplying a command to run (i.e., it's not an
> interactive shell) the GNU readline library isn't used (readline
Oh yeah. I figured the '-login' would sort that. Oops ...
> A neater way to see what files are read by bash when you login would be
> to run an interactive session like this (and then logout from the new
> shell that's started):
> strace -o bash.out -e trace=open bash -login
-- Celebrate Maladay, Fnord.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:54 GMT