User login

bash "No such file or directory" error even though .bashrc has proper include path

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.)