Benutzer-Werkzeuge

Webseiten-Werkzeuge


macos

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
macos [2023-03-30 09:28:26] – [Homebrew] davidmacos [2024-03-06 16:37:12] (aktuell) david
Zeile 6: Zeile 6:
 ===== praktische Kommandos ===== ===== praktische Kommandos =====
  
-  * schnelleres Verschwinden/Erscheinen des Docks: <code bash>+  * Schnelleres Verschwinden/Erscheinen des Docks: <code bash>
 defaults write com.apple.dock autohide-delay -float 0 defaults write com.apple.dock autohide-delay -float 0
 defaults write com.apple.dock autohide-time-modifier -float 0.25 defaults write com.apple.dock autohide-time-modifier -float 0.25
 killall Dock killall Dock
 +</code>
 +  * Sudo mit Touch ID (Fingerabdruck): Folgendes über die 2. Zeile der Datei ''/etc/pam.d/sudo'' hinzufügen: ''auth sufficient pam_tid.so'' <code bash /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
 +</code>
 +
 +
 +==== 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)
 +  * ''bs=4K'': die Standardeinstellung von 512 in dd ist sehr langsam, alles zwischen 4K und 4M sollte deutlich schneller sein
 +
 +<code bash>
 +mount
 +diskutil unmountDisk /dev/disk3
 +diskutil eraseDisk fat32 label gpt /dev/disk3
 +diskutil mountDisk /dev/disk3
 +mount
 +bsdtar -xf debian.iso -C /Volumes/LABEL
 +diskutil eject /dev/disk3
 +mount
 +</code>
 +
 +**//ODER//**
 +
 +<code bash>
 +mount
 +diskutil eraseDisk FAT32 label GPT /dev/disk3
 +diskutil unmountDisk /dev/disk3
 +sudo dd if=debian.iso of=/dev/disk3 bs=4K status=progress
 +diskutil mountDisk /dev/disk3
 +mount
 +diskutil eject /dev/disk3
 +mount
 </code> </code>
  
Zeile 26: Zeile 71:
 ==== Homebrew ==== ==== Homebrew ====
  
-  * Installieren von CLI Apps: ''%%brew install%%'' +  * **formula(e)**: CLI App(s) 
-  * Installieren von GUI Apps: ''%%brew install --cask%%'' +  * **cask(s)**: GUI App(s) 
-  * Auflisten installierter Apps: ''%%brew list%%'' oder ''%%brew list -1%%'' (eine app pro zeile+  * Update Homebrew und veraltete formulae/casks: ''%%brew update && brew upgrade%%'' 
-  * Hilfe: ''%%brew help%%'' oder ''%%brew --help%%''+  * 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 ===
  
 <code bash> <code bash>
-brew install git imagemagick jq node sevenzip +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 betterdisplay coteditor discord docker element finicky firefox firefox-developer-edition font-fira-code git-credential-manager-core iterm2 karabiner-elements libreoffice maccy powershell rectangle spotify thunderbird visual-studio-code vlc whatsapp-alpha+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
 </code> </code>
  
- 
-==== Internet ==== 
  
  
/home/http/wiki/data/attic/macos.1680168506.txt · Zuletzt geändert: von david