Luis Muñoz Fuente wrote:
Hello:

I use lfs-7.5. In chapter 4.4, the .bash_profile has the next line:

exec env -i HOME=$HOME TERM=$TERM PS1='u:w$ ' /bin/bash

Is it enough:

env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash

?

What is the difference?

The first runs the program env in the current shell environment. The second runs it in a subshell which is not what you want since the environment will be different.

  -- Bruce


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

Reply via email to