Basically I was just trying to set up a PATH environment variable that pointed to the /bin directory inside the main Java directory.
I did this by doing: sudo nano /etc/paths.
But then couldn't get the path to save so got frustrated and just did some keyboard bashing... Which then closed the sudo nano path.
And now nothing is working. No bash commands, etc. I have tried restarting several times and every time I open terminal I get the following message:
Last login: Tue Jan 7 08:41:08 on ttys000 Fatal Python error: initfsencoding: unable to load the file system codec LookupError: no codec search functions registered: can't find encoding
using OSX on Maxbook
Please help..
/usr/bin/sudo /usr/bin/nano /etc/paths
.