When I run composer I get this
bash: /opt/cpanel/composer/bin/composer: No such file or directory
I'm trying to find where my bash profile (the file that contains my PATH is. I'm on Centos 6.
I run: nano /root/.bashrc
and there's no entry in there
I run /etc/bashrc
same no entry.
I've checked online and can't find any answer pointing me to where it would be.
Per comments I've tried: /etc/profile and $HOME/.profile
I need to remove that composer path, wherever that file is.
bash
is, or wherecomposer
is? – Saswat Padhi Sep 13 '19 at 23:46which bash
on your system? – Saswat Padhi Sep 13 '19 at 23:48.bashrc
or.profile
instead ofbash
. You can't really "remove a line frombash
" ... Check/etc/profile
and$HOME/.profile
files – Saswat Padhi Sep 13 '19 at 23:50