Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to reverse a terminal command

Hi,

So I was messing around with terminal and found a way to make my MacBook make a chime sound whenever it got plugged in using this code:

defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open/System/Library/CoreServices/PowerChime.app

I was wondering if there was any way to reverse it so it won't make the chime anymore, I've never really used terminal before so I'm completely new to this

Thanks for any possible help!

MacBook Air, macOS High Sierra (10.13.1)

Posted on Dec 14, 2017 11:59 AM

Reply
2 replies

Dec 14, 2017 12:09 PM in response to me_s

Try the same command, but use "-bool false" instead.


Hint: In the future be very careful of using Terminal commands in any of the operating systems /System or /Library folders, until you become more familiar with what you are doing. Otherwise, you can end up corrupting the OS and will have to reload it to recover.

How to reverse a terminal command

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