LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   problem with bash4.1 LFS 6.6 (https://www.linuxquestions.org/questions/linux-from-scratch-13/problem-with-bash4-1-lfs-6-6-a-805346/)

zajec 05-01-2010 02:26 PM

problem with bash4.1 LFS 6.6
 
hi
I have created LFS 6.6 and system works fine but when I login as root it shows only 'bash4.1' but not user or directory I'm currently in.
Did I do something wrong with bash or I need additional config?

crts 05-01-2010 02:33 PM

Hi,

you can change the prompt in the file .bashrc which is located in your HOME directory.

EricTRA 05-01-2010 02:34 PM

Hello,

Are you referring to the prompt that you have when logged in, the PS1 variable?

Post output of this command please:
Code:

echo $PS1
Kind regards,

Eric

druuna 05-01-2010 02:43 PM

Hi,

You mention having successfully installed LFS, but that is just a very basic linux system. BLFS is where the real fun starts.

Take a look at BLFS, especially chapter 3 (The Bash Shell Startup Files), the stuff you are after (PS1 for instance) is set there. Do have a look at all of chapter 3, it adds some useful and common settings.

Hope this helps.

zajec 05-01-2010 03:28 PM

thanks for your help

EricTRA 05-01-2010 03:31 PM

Hi,

Glad you got it solved. Have fun with Linux.

Kind regards,

Eric


All times are GMT -5. The time now is 07:56 AM.