Command to shutdown mac
-
Hello, what type of command in MAC should I place in trigger to turn off the computer? I use sudo shutdown -h now and it doesn't work. Help
-
@Elmer-Vega, this command worked for me:
osascript -e 'tell application "Finder"' -e 'shut down' -e 'end tell'There's also a command in the built-in Examples list that works.
-
@Russ Hello thank you very much!
I copy all this command and paste it only ? -
@Elmer-Vega, yes. Or find shutdown in examples.
-
@Russ Mister thank u a lot!

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login