1

I know I can shutdown a mac via terminal using

sudo shutdown -h now

But that is a graceful shutdown how can I force it to immediately die (I know this is bad practice)

ditto for rebooting

there doesn't appear to be an argument for --force or such.

2
  • 2
    Have a look at reboot -q. This isn't a graceful shutdown. See the manpages for reboot, halt and shutdown for more information. Why do you not want a graceful halt or reboot?
    – JRFerguson
    Apr 19, 2022 at 22:21
  • man shutdown has (as any other man page) a SEE ALSO section which might be useful in these cases.
    – nohillside
    Apr 20, 2022 at 20:58

1 Answer 1

1

Thanks JRFerguson

the answer was

sudo halt -q

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .