How to Enable Safe Mode from Command Line on Mac
Troubleshooting complex issues on a Mac can be challenging as is, and if you’re ever confronted with some complex situations you may find the command line to lend a major hand. In this case, advanced users can boot a Mac into safe mode through the usage of the nvram utility, a tool which allows users to directly manipulate firmware variables. We’ll use nvram to enable safe booting entirely through the command line, preventing a user from needing to use the standard Mac method to boot into safe mode by holding down a Shift key upon system start of Mac OS X, this opens the door for remotely enabling safe mode and improved remote troubleshooting, and for a variety of scripting applications.