Nagasayanam,V.S wrote:
I am familiar with Linux but not an expert. I find that the book LFS-7.5 is
very interesting and I have started the work in Mint 17. I have verified
that the software versions are all right. Subsequently,  I entered

----------------------------------------------------------------------------------------------------------------
cat > ~/.bash_profile << "EOF"
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
EOF
-----------------------------------------------------------------------------------------------------------------
After logging out and logging in as user 'lfs'
I got this:
----------------------------------------------------------------------------------------------------------------
lfs@linuxpert-HP-EliteBook-6930p ~ $ source ~/.bash_profile
dircolors: no SHELL environment variable, and no shell type option given
----------------------------------------------------------------------------------------------------------------

A Google search reveals that there could be some problems with Debian
derivatives. Kindly advice whether I should change to Fedora or others.
Thanks in advance,
VSN

You were not asked to log out and back in as user lfs. You were asked to 'su - lfs' and then 'source ~/.bash_profile' after updating ~/.bash_profile and ~/.bashrc.

After leaving user lfs and reentering after the bash files are created, the source command is not necessary.

That said, bash is executing /etc/profile and that is calling, indirectly, dircolors. The warning message you have can be ignored.

  -- Bruce



--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to