Skip to content

Instantly share code, notes, and snippets.

@rubyandcoffee
Last active February 21, 2020 19:40
Show Gist options
  • Save rubyandcoffee/ef5572523963e423c924c506bf82e544 to your computer and use it in GitHub Desktop.
Save rubyandcoffee/ef5572523963e423c924c506bf82e544 to your computer and use it in GitHub Desktop.
All commands in terminal are broken
If no commands work in the terminal, and you are receiving this error (or similar):
-bash: ls: command not found
Then run:
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment