bash: Odd error when re-invoking the shell
When I either source ~/.bash_aliases, source ~/.bashrc or re-invoke bash, I get this error:
Code:
bash: /home/carver/.bash_200710200753.00es: No such file or directory This has only happened twice in the last two hours, in other words: this weirdness is new today. Hope someone can suggest a solution. Carver |
obvious:
show us ~/.bash_aliases and ~/.bashrc |
yes, it looks like there is an error either in ~/.bash_aliases or ~/.bashrc
and probably there is a file ~/.bash_2007.... something. |
I would search for that string "bash_200710200753.00es", in your files. And then see if you can discern why it is in there in the first place.
|
Turn debugging on
Code:
set -x |
Quote:
Quote:
Quote:
Carver |
You only need to search this page for the string :)
Quote:
|
Quote:
Code:
bash: /home/carver/.bash_200710200753.00es: No such file or directory I have interactive set somewhere (.profile?). If I took that away or commented it out, might this error disappear? Carver |
Run the following command, that will fix your ~/.bashrc file:
Code:
sed -i '/.bash_aliases/{N;s/.bash_200710200753.00es/.bash_aliases/;}' ~/.bashrc |
Quote:
I'll be doing so before you can answer. I'll add to this thread if I encounter any problems. Carver. |
Quote:
Carver |
All times are GMT -5. The time now is 06:33 AM. |