Every time I try to use a sudo or ssh command, it returns with this error:
when:~ jackson1442$ sudo [insert any command here]
-bash: sudo: command not found
I was messing with Python installs, and am not sure what I did to cause this. How can I permanently fix this?
macOS Sierra 10.12.4 16E195
MacBook Pro 2016
13" Touchbar
EDIT: here's the path:
when:~ jackson1442$ echo $PATH
’/usr/local/bin:??
Here is .bash_profile
# Setting PATH for Python 2.7
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH
# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
# Setting PATH for Python 3.5
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH
export PATH=’/usr/local/bin:��
.../3.5/bin:.../3.6/bin:/.../2.7bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin
now (I omitted each/Library/Frameworks/Python.framework/Versions/
here).export PATH=’/usr/local/bin:��