I've had a working installation of adb and fastboot (for Android debugging and development). It used to be that when I type
adb it launches the command line help for adb. Now it says this:
bash: /usr/local/bin/adb: No such file or directory
as if it's only looking for it in
Though I still do have it in
/usr/bin/adb and can still use it by typing the absolute path.
Further more, I have several aliases in my Bash Aliases file; one of which is
sysupgrade (it does what it sounds like) but when I tried this today, it failed. So I ran the next lines in terminal interpreting some help wrong on a forum which says to put it in
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" export PATH
But my aliases now work! It's just that adb and fastboot don't. I've tried
nping which are all in
/usr/bin and they all work.
hash -r didn't show anything. But
hits command 1 /usr/local/bin/adb