How to reset mac PRAM through the command line in Lion/Mountain Lion?

Posted by boneyjellyfish on Super User See other posts from Super User or by boneyjellyfish
Published on 2013-01-03T15:16:10Z Indexed on 2013/10/23 15:59 UTC
Read the original article Hit count: 447

I'm trying to write a script to automate a PRAM reset and I've seen a lot of old guides that tell me to use the following command to reset the Mac's PRAM via the terminal:

nvram boot-args="-p -r"

But this command doesn't seem to work anymore, at least not on any of the computers I've tried it on. I'm trying to find a more up-to-date list of available boot-args and I was able to find this question about boot-args strings but there doesn't seem to be anything in there or any of the links about resetting the pram.

Any ideas?

© Super User or respective owner

Related posts about osx

Related posts about osx-lion