%general-entities; ]> Setting Up the Environment cat > ${LFS}/root/.bash_profile << "EOF" PS1='\u:\w\$ ' LC_ALL=POSIX PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin export LC_ALL PATH PS1 EOF By putting /tools/bin ahead of the standard PATH, all the programs installed in are picked up by the shell immediately after their installation. This, combined with turning off hashing, limits the risk that old programs from the host are being used when they should not be used any longer.