Terminal Command not found

so, when I was trying to open a file the guide says to use "sudo ./patcher-wii-macos-x64" in terminal. not sure why or how this happened

MacBook Pro 15″, macOS 12.6

Posted on Aug 20, 2023 8:59 AM

Reply

Similar questions

1 reply

Aug 20, 2023 9:43 PM in response to oakleyplays

sudo is a command to run another command "as the superuser or another user." If your account has Administrator privileges, and you want to do something to the system that requires more privileges than an ordinary user has, you use sudo to temporarily gain privileges.


In this case, you asked it to run the command ./patcher-wii-macos-x64. The leading . and / tell the shell that you are trying to run a Unix binary or a shell script in the current directory. The patcher-wii-macos-x64 is the file that the shell looked for in that directory.


If there was no such file in that directory, you would get a "command not found" error, e.g.,


% sudo ./this-file-does-not-exist
sudo: ./this-file-does-not-exist: command not found


I don't know if you had a valid patcher-wii-macos-x64 command or shell script somewhere, but if you did, it was apparently not in your current directory (probably your home directory), based on the error message you report.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Terminal Command not found

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.