How to reset the $PATH in terminal OS X El Capitan? tried previous posts but did not work
First, run PATH=/bin:/usr/bin in Terminal. 

Then open ~/.bash_profile (in terminal, nano/vim/favorite editor ~/.bash_profile) or open Finder, then press Shift+Command+G and paste it in. Then you can comment out the path line. There is no need to delete .bash_profile in its entirety, and it isn't recommended.