User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
code:terminalcmds [2017/04/21 16:14]
michfiel created
code:terminalcmds [2020/11/26 09:37] (current)
Line 1: Line 1:
 ===== Useful Terminal Commands ===== ===== Useful Terminal Commands =====
-Make Library Folder visible+Mute Startup Sound: 
 +  sudo nvram StartupMute=%01
 +Erase Hard Disk:
 +  diskutil eraseDisk JHFS+ empty /dev/disk1
 +Force rebuild of Finder Prefs:
 +  mv ~/Library/Preferences/ ~/Desktop/
 +Make Library Folder visible:
   chflags nohidden ~/Library/   chflags nohidden ~/Library/
-Cleanup Finder database +Cleanup Finder database:
   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
-Backup iPad on external disk (named "NoBackup")+Backup iPad on external disk (named "disk2s2"):
-  ln -s /Volumes/NoBackup/iTunes/Backup ~/Library/Application\ Support/MobileSync/Backup+  ln -s /Volumes/disk2s2/Documents/MobileSync/Backup ~/Library/Application\ Support/MobileSync/
-Booting in verbose mode+Booting in verbose mode:
   sudo nvram boot-args=”-v”   sudo nvram boot-args=”-v”
-Show full path names in all Finder windows+Show full path names in all Finder windows:
   defaults write _FXShowPosixPathInTitle -bool YES   defaults write _FXShowPosixPathInTitle -bool YES
-Change date to March 18th 2013 12:50 for fooling older MacOS X Installers +Always use expanded save dialog:
-  date 0318125013+  defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE 
 +Change date to March 18th 2013 12:50 for fooling older MacOS X Installers:
 +  date 0318125013
code/terminalcmds.1492784079.txt.gz · Last modified: 2017/04/21 16:14 by michfiel