I probably shouldn't have even messed with it, but I followed the instructions to recompile bash here: How do I recompile Bash to avoid Shellshock (the remote exploit CVE-2014-6271 and CVE-2014-7169)?
Following that recompile, if I run something like wget from terminal, I get the following: -bash: wget: command not found
And that's not the only one. A lot of the usual bash commands seems to have disappeared for me. How do I do a complete revert of bash back to normal but with the current apple supported bash patch(es)? Is there a better way to fix my problem?
PATH
than with the shell. What doesecho $PATH
return? – nohillside Oct 07 '14 at 13:22$ echo $PATH /Users/Luke/anaconda/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/apache-maven/bin:/usr/local/mysql/bin
At the same time, I'm not sure that I have wget installed, but I thought that I did. How can I easily check that, in light of this path? $ which ls ; echo $? /bin/ls 0 $ which no_such_executable ; echo $? 1
– lukewitmer Oct 07 '14 at 13:32wget
in the first place (runsudo find / -name wget
and have a cup of tea whil it runs to verify). Which other "usual" bash commands seem to have disappeared? – nohillside Oct 07 '14 at 14:03