Benutzer-Werkzeuge

Webseiten-Werkzeuge


macos

Dies ist eine alte Version des Dokuments!


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/sudo hinzufü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 mount sieht man die aktuell gemounteten Volumes
  • FAT32: das Dateisystem (verfügbare kann man sich mit diskutil listFilesystems anzeigen lassen)
  • label: das Label für den USB-Stick
  • GPT: das Format für die Partitionstabelle: GPT/MBR/APM (mehr infos unter diskutil 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/disk4s1 wäre in diesem Fall die EFI system partition)
  • debian.iso: das ISO-Image das auf den USB-Stick geschrieben werden soll
  • bs=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

  • Installieren von CLI Apps: brew install
  • Installieren von GUI Apps: brew install --cask
  • Auflisten installierter Apps: brew list oder brew list -1 (eine app pro zeile)
  • Hilfe: brew help oder brew --help
brew install git imagemagick jq node sevenzip
brew install --cask betterdisplay coteditor discord docker element finicky firefox firefox-developer-edition font-fira-code gimp git-credential-manager-core iterm2 karabiner-elements libreoffice maccy powershell rectangle spotify thunderbird visual-studio-code vlc whatsapp-alpha

Internet

/home/http/wiki/data/attic/macos.1709731667.txt · Zuletzt geändert: von david