LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   konsole problem: /etc/bashrc not found (https://www.linuxquestions.org/questions/linux-software-2/konsole-problem-etc-bashrc-not-found-394348/)

Nalorin 12-18-2005 10:30 PM

konsole problem: /etc/bashrc not found
 
bash: /etc/bashrc]: No such file or directory
bash-3.00$

That's what I see when I open a konsole.
I've tried adding:
if [ "$PS1" ]
then
PS1='\u@\h \w]\$ '
fi
to the .bashrc file, and fixes the bash-3.00$ part, but not the "No such file..." part.

if I am logged in as myself (not root), and do "source /etc/bashrc" then it corrects the bash-3.00$ as well


Any ideas on how to make it so that this problem does not happen at all? - My root login works fine in this respect.

Nalorin 12-18-2005 10:34 PM

disregard that - i figured it out on my own, after wondering "does root have a .bashrc file?"

once I had that GFAM (Genius For A Moment) revelation, i managed to find that somehow I managed to put a ] on the end of the ". /etc/bashrc" line


All times are GMT -5. The time now is 05:08 PM.