macos
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
macOS
praktische Kommandos
- Schnelleres Verschwinden/Erscheinen des Docks:
defaults write com.apple.dock autohide-delay -float 0 defaults write com.apple.dock autohide-time-modifier -float 0.25 killall Dock
- Sudo mit Touch ID (Fingerabdruck): Folgendes über die 2. Zeile der Datei
/etc/pam.d/sudohinzufügen:auth sufficient pam_tid.so- /etc/pam.d/sudo
# sudo: auth account password session auth sufficient pam_tid.so auth sufficient pam_smartcard.so auth required pam_opendirectory.so account required pam_permit.so password required pam_deny.so session required pam_permit.so
Bootable Linux-USB erstellen (Partitionieren und Formatieren)
- mit
mountsieht man die aktuell gemounteten Volumes FAT32: das Dateisystem (verfügbare kann man sich mitdiskutil listFilesystemsanzeigen lassen)label: das Label für den USB-StickGPT: das Format für die Partitionstabelle:GPT/MBR/APM(mehr infos unterdiskutil eraseDisk -h)/dev/disk4: die Disk/das Gerät auf dem alle Volumes gespeichert werden/dev/disk4s2: die Partition auf die das Image geschrieben werden soll (/dev/disk4s1wäre in diesem Fall die EFI system partition)debian.iso: das ISO-Image das auf den USB-Stick geschrieben werden sollbs=4K: die Standardeinstellung von 512 ist sehr langsam, alles zwischen 4K und 4M sollte deutlich schneller sein
mount diskutil eraseDisk FAT32 label GPT /dev/disk4 diskutil unmountDisk /dev/disk4 sudo dd if=debian.iso of=/dev/disk4s2 bs=4K status=progress diskutil mountDisk /dev/disk4 mount
Software
siehe Homebrew
App Store
Homebrew
- formulae: CLI App
- cask: GUI App
- Update Homebrew und veraltete formulae/cask:
brew update && brew upgrade - Installation einer formulae:
brew install APP - Installation eines cask:
brew install --cask APP - Auflisten installierter Apps:
brew listoderbrew list -1(eine app pro zeile) - Informationen über eine App:
brew info APP - Hilfe:
brew helpoderbrew --help
Nützliche Apps
brew install brew install --cask
Internet
/home/http/wiki/data/attic/macos.1709732373.txt · Zuletzt geändert: von david
