Home ›
bash "No such file or directory" error even though .bashrc has proper include pathbash "No such file or directory" error even though .bashrc has proper include path
Submitted by Benjamin Melançon on July 12, 2009 - 10:22pm
bash "No such file or directory"
Every time I opened Terminal:
bash: /home/ben/.bashrc-agaric: No such file or directory
But my ~/.bashrc was clear of calling that file.
And source .bashrc produced no errors. So where was it still calling the old file path?
Answer:
sudo vi /etc/bash.bashrc
(On Ubuntu. The global bash file may be in other places also.)