Good morning from a newbie

David Barron David.Barron at
Mon Jan 13 09:47:55 PST 2003

Yes, both suggestions work too, but the reason I prefer my ideas is my prompt is set to [\w]> (doesn't show the $? variable) and because I wanted to clean the source directories not delete them.  Like I said, they were just suggestions.

-----Original Message-----
From: Rob Park [mailto:rbpark at]
Sent: Monday, January 13, 2003 12:06 PM
To: lfs-dev at
Subject: Re: Good morning from a newbie

Alas! David Barron spake thus:
> I've just joined lfs, although I don't consider myself a newbie when
> it comes to Linux.  I've installed lots of different distributions,
> but this is the first time I've tried starting from the very beginning
> this way.  I've enjoyed the process for the most part.  I did have a
> couple of suggestions for the book, however.  First, I made a small
> addition to the "configure, make, make install" process which I found
> very helpful.  In general it went like this:
> ./configure &&
> make &&
> make install &&
> echo 'Finished'

When I first saw that, I thought "Silly boy, when it shows the prompt
again, that means it's finished..."

> This was particularly helpful for me, especially during the longer
> "configure, make, make install" cycles.  If it showed Finished then I
> knew the process completed successfully.

But then I read this bit and got what you meant.

For me, I just have my prompt set to display the $? variable, which is
the return value of the previous command. If it is zero, everything is
ok! ;)

> Second, I ran a simple process after the first successful boot into
> LFS.
> for dirname in /usr/src/*
>   do
>   cd $dirname
>   make clean
>   cd ..
> done
> This cleans up the source directories and gains a few megs of hard
> drive space back.

This also can save you some hard disk space:

rm -rf /usr/src/*

Have a nice day ;)

Rob Park
You can write a small letter to Grandma in the filename.
		-- Forbes Burkowski, CS, University of Washington
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list