Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
After I create ~/.bash_profile and ~/.bashrc and then use the source command on ~/.bash_profile, according to the book, I should have a completely empty environment (except for the six variables created by the two ~/.bash* files). But by typing the env command, I see two extra variables (SHLVL=1 and PWD=/home/lfs). Additionally, and more troubling is when I then type in the set command, I see a ton of environment variables like COLUMNS=128 HISTSIZE=500 and stuff like that. The book clearly states that I should have a "completely empty environment", except of course for the six variables created by the new ~/.bash* files. What gives? Should I only be concerned with what the env command displays? Should I not be concerned about what the set command displays? And finally, is it possible or not to actually have a running Linux system where there are no environment variables set? Thanks a million! I've googled and searched LFS web site & couldn't find anything pertinant.
PS- I'm using Slackware 10.1 with kernel 2.6.9 as host.