This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
macos_misc [2023-03-28 14:19:37] mi |
macos_misc [2024-03-22 13:19:11] (current) mi |
||
---|---|---|---|
Line 1: | Line 1: | ||
= MacOS misc | = MacOS misc | ||
+ | ==Network | ||
+ | Disable IPv6: | ||
+ | sudo networksetup -listallnetworkservices # get names to use below | ||
+ | | ||
+ | sudo networksetup -setv6off Ethernet | ||
+ | sudo networksetup -setv6off Wi-Fi | ||
+ | #... | ||
+ | |||
+ | Show DNS: | ||
+ | scutil --dns | grep nameserver | ||
+ | |||
==Mac startup key combinations | ==Mac startup key combinations | ||
https://support.apple.com/en-us/HT201255 | https://support.apple.com/en-us/HT201255 | ||
Line 6: | Line 17: | ||
Key combinations for an Intel-based Mac | Key combinations for an Intel-based Mac | ||
- | Command (⌘)-R: Start up from the built-in macOS Recovery system. Or use Option-Command-R or Shift-Option-Command-R to start up from macOS Recovery over the internet. macOS Recovery installs different versions of macOS, depending on the key combination you use. | + | * Command (⌘)-R: Start up from the built-in macOS Recovery system. Or use Option-Command-R or Shift-Option-Command-R to start up from macOS Recovery over the internet. macOS Recovery installs different versions of macOS, depending on the key combination you use. |
- | + | * Option (⌥) or Alt: Start up to Startup Manager, which allows you to choose other available startup disks or volumes. | |
- | Option (⌥) or Alt: Start up to Startup Manager, which allows you to choose other available startup disks or volumes. | + | * Option-Command-P-R: Reset NVRAM or PRAM. |
- | + | * Shift (⇧): Start up in safe mode. | |
- | Option-Command-P-R: Reset NVRAM or PRAM. | + | * D: Start up to the Apple Diagnostics utility. Or use Option-D to start up to this utility over the internet. |
- | + | * N: Start up from a NetBoot server, if your Mac supports network startup volumes. To use the default boot image on the server, press and hold Option-N instead. | |
- | Shift (⇧): Start up in safe mode. | + | * Command-S: Start up in single-user mode. Disabled in macOS Mojave or later. |
- | + | * T: Start up in target disk mode. | |
- | D: Start up to the Apple Diagnostics utility. Or use Option-D to start up to this utility over the internet. | + | * Command-V: Start up in verbose mode. |
- | + | * Eject (⏏) or F12 or mouse button or trackpad button: Eject removable media, such as an optical disc. | |
- | N: Start up from a NetBoot server, if your Mac supports network startup volumes. To use the default boot image on the server, press and hold Option-N instead. | + | |
- | + | ||
- | Command-S: Start up in single-user mode. Disabled in macOS Mojave or later. | + | |
- | + | ||
- | T: Start up in target disk mode. | + | |
- | + | ||
- | Command-V: Start up in verbose mode. | + | |
- | + | ||
- | Eject (⏏) or F12 or mouse button or trackpad button: Eject removable media, such as an optical disc. | + | |
==Users | ==Users |