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 und deren Pfad
  • 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/disk3: die Disk/das Gerät auf dem alle Volumes gespeichert werden (eine komplette Disk wie /dev/disk3 muss ausgewählt werden, keine Partition wie /dev/disk3s2)
  • debian.iso: das ISO-Image das auf den USB-Stick geschrieben werden soll
  • /Volumes/LABEL: der Pfad zum gemounteten Volume (Mount-Point)
mount # check if it's mounted and get the path to the disk/device
diskutil unmountDisk /dev/disk3
diskutil eraseDisk fat32 label gpt /dev/disk3
diskutil mountDisk /dev/disk3
mount # make sure it's mounted and check the mount point
bsdtar -xf debian.iso -C /Volumes/LABEL
diskutil eject /dev/disk3
mount

Software

siehe Homebrew

App Store

Homebrew

  • formula(e): CLI App(s)
  • cask(s): GUI App(s)
  • Update Homebrew und veraltete formulae/casks: brew update && brew upgrade
  • Suchen von Apps: brew search APP
  • Installation (formula): brew install APP
  • Installation (cask): brew install --cask APP
  • Deinstallation: brew uninstall APP oder brew rm APP
  • Auflisten installierter Apps: brew list oder brew ls -1 (eine App pro Zeile mit vollständigem Namen)
  • Auflisten installierter formulae: brew ls -1 --full-name --formula
  • Auflisten installierter casks: brew ls -1 --full-name --cask
  • Informationen über eine App: brew info APP
  • Hilfe: brew help oder brew COMMAND -h

Nützliche Apps

brew install autossh bash bash-completion@2 binutils byobu ca-certificates coreutils curl diffutils docker-completion dos2unix findutils gawk git gnu-sed gnu-tar gnu-time gnu-units grep gzip htop imagemagick iproute2mac jq less midnight-commander ncurses neovim nmap openssh openssl@3 pip-completion python@3.12 readline ripgrep screen shellcheck tmux tree-sitter vim xq xz yq zsh zsh-completions zstd
brew install --cask aldente android-file-transfer betterdisplay chromium coteditor docker finicky firefox gimp git-credential-manager iterm2 karabiner-elements keka libreoffice maccy meld minecraft obs powershell rectangle spotify thunderbird visual-studio-code vlc grishka/grishka/neardrop homebrew/cask-fonts/font-fira-code homebrew/cask-fonts/font-fira-code-nerd-font
/home/http/wiki/data/attic/macos.1709739006.txt · Zuletzt geändert: von david