You are not logged in.
when I start a console, logged in as user, it always used to start with
user@hostname ~$
Suddenly, and I cannot recall having done anything that could lead to the issue, konsole will always start as
bash3.2$
even after many reboots, this is still the case.
whoami shows my user name. I can su to root, and from there to my username, but never directly from bash.
Occasionally, starting a program like KDE partition manager fails with the error message the program su could not be found. but it is as I said occasional.
I am quite a newbie to Linux, so I am clueless. Can someone help me..? I tried googling, but I seem to be the only one in the WWW that goofed up to such an extent..! and searches are quite unrevealing.
I am installing Linux From scratch using arch linux as base system, but I am just following The Book to the letter and don't think that caused the problem.
Last edited by jaydoc (2009-01-26 09:12:56)
It takes a very unusual mind to undertake the analysis of the obvious - A N Whitehead
Offline
Can you post your .bashrc?
Offline
@weasel8...
That is THE trouble. And I take back my words, it was during the linux from scratch install that I botched that file...! I was supposed to make a new bashrc file in the LFS directory, but I went wrong on the commands and I think I ended up removing the Arch Linux file...!
If it is to be found, it should be in the etc directory, right..? I looked there and could not find it. Did I look in the right place...?
What can I do...?
Last edited by jaydoc (2009-01-26 07:33:14)
It takes a very unusual mind to undertake the analysis of the obvious - A N Whitehead
Offline
You're .bashrc file will be in your home directory. Files that begin with "." are hidden. To list them, use "ls -A".
To change the bash prompt, you need to set the PS1 variable. Google "bash ps1" and you should find plenty of tutorials and explanations of how to set it up. I took a look at the first hit and it seems to explain it well enough: http://www.cyberciti.biz/tips/howto-lin … rompt.html
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Thanks for that link....!
I got it right, and it ws a good learning experience as well....!
It takes a very unusual mind to undertake the analysis of the obvious - A N Whitehead
Offline