0

After I open the terminal this text will appear:

Last login: Mon Mar 26 17:51:02 on ttys001
-bash: /usr/local/bin/dirname: cannot execute binary file
-bash: /usr/local/bin/dirname: cannot execute binary file
-bash: /usr/local/bin/tr: cannot execute binary file
-bash: /usr/local/bin/dirname: cannot execute binary file
-bash: /usr/local/bin/dirname: cannot execute binary file
Marek:~ marek$

This happens after uninstallation of zsh shell. How can I fix that?

1

I'm no MacOS X expert but I do know it's a BSD. I know installing packages on FreeBSD requires me to run rehash before it will find the new executables without an explicit path. Looks like in bash it would be hash -r so perhaps give that a try (see: How to rehash executables in $PATH with bash)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.