Not all these functions work with every version of Mac OS X or with every hardware upgrade, but they are the most common. Force eject (CD/DVD): Click Mouse Button and Hold.Boot to open firmware: Command + Option + O + F.Reset PRAM: Command + Option + P + R (Note: Hold until second chime).Target disk mode: T (Note: Only for FireWire Macs).Safe-boot mode: Shift (Note: Disables nonessential and login applications).Boot to external hard drive: Command + Option + Shift + Delete.The following key combinations can be held as your Mac is powering on:
While you cannot run any code from Terminal or otherwise to set an order of boot devices, you can easily control where your Mac boots via keyboard commands. The getmac command outputs a list of all your network adapters and their MAC addresses, which you can check in the Physical Address column highlighted below. Then, type in the command getmac and press Enter on your keyboard. The following is a more comprehensive list of the keyboard commands you know and many you may not.Ī recent tweet from reminded me of several boot commands I've learned over the years, so I thought a more comprehensive list would be useful for MacFixIt readers. First, open Command Prompt, PowerShell, or Windows Terminal.
Type ls and press the Return key, and you’ll see the folders (and/or files) in the current directory.Many users are aware of some boot commands for Mac OS X that provide different functionality for your system. To do that you use the ls (or list) command. While you’re there-or when you’re in any folder ( directory in Unix-speak)-you might want to know what’s in it. Continue pressing the Up Arrow key until you see the command you want, then press Return. The last command you entered appears on the command line. In the Terminal app on your Mac, press the Up Arrow key. When you first get to the command line, you’re in your home folder. The commands you enter during a session are saved so you can repeat a previously used command without retyping it.
The load on the processor, the size of the memory involved, the time, etc. top - lists the main processes involved and constantly updated information about them.
The second line is the prompt, and while it can change from system to system depending on configuration, by default it contains several bits of information: CommandEx CommandLine Reference APK 3 MB ( ) - CommandEx CLI Reference APK - CommandEx CommandLine Reference.The first line shows the last time you logged into your Mac via the command line that’s the current time, when you’re using Terminal.