While screen sharing on a event board, as soon as you disconnect from ARD or VNC session the display generally returns to the lock screen or turns off. Enter the following command in Terminal to turn off this feature. sudo defaults write /Library/Preferences/com.apple.RemoteManagement RestoreMachineState -bool NO
This command lets you turn the build in OS X firewall on and off, on both for specific services or essential services. It works with OS X 10.5, 10.6, 10.7 and 10.8. It also works via Apple Remote Desktop. To turn the firewall off: sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 0 To turn the firewall on for … Continue reading Turn firewall on or off from Terminal
If you're an advanced user who is comfortable with UNIX, you can use single-user mode or verbose mode to help isolate issues related to startup. Hold down one of these key combinations on your keyboard immediately after pressing the power button to turn on your Mac, or immediately after your Mac begins to restart: Command-S: … Continue reading Start up your Mac in single-user mode or verbose mode
When you’re booting your Mac from the recovery partition and are planning to reinstall OS X, you might be met by the following message: An error occurred while preparing the installation. Try running again Now, if you haven’t used your Mac for a while, the error might be caused by an incorrect system date setting. You can check … Continue reading Changing system date from Terminal
You can check for available updates, ignore packages, and install any or all Mac OS X Software Updates directly from the command line. To see what updates are available, or to install a software update from the Terminal of OS X, you’ll use the ‘softwareupdate’ command as we’ll instruct below. List All Available Mac Software … Continue reading Check and Install Mac OS X Software Updates from the Terminal
By pressing a combination of keys, you can do things that normally need a mouse, trackpad, or other input device.
Some people find the macOS Terminal scary, and that makes sense. Commands can feel alienating, and learning to use them takes time. It’s hard to find a starting point.