code:terminalcmds
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
code:terminalcmds [2020/06/09 13:02] – michfiel | code:terminalcmds [2022/04/21 09:22] – michfiel | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Useful Terminal Commands ===== | ===== Useful Terminal Commands ===== | ||
+ | |||
+ | Mute Startup Sound: | ||
+ | sudo nvram StartupMute=%01 | ||
Erase Hard Disk: | Erase Hard Disk: | ||
Line 10: | Line 13: | ||
chflags nohidden ~/Library/ | chflags nohidden ~/Library/ | ||
| | ||
- | Cleanup Finder database | + | Cleanup Finder database: |
/ | / | ||
- | Backup iPad on external disk (named " | + | Backup iPad on external disk (named " |
ln -s / | ln -s / | ||
- | 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 com.apple.finder _FXShowPosixPathInTitle -bool YES | defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES | ||
- | Always use expanded save dialog | + | Always use expanded save dialog: |
defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE | defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE | ||
| | ||
- | Change date to March 18th 2013 12:50 for fooling older MacOS X Installers | + | Change date to March 18th 2013 12:50 for fooling older MacOS X Installers: |
date 0318125013 | date 0318125013 | ||
+ | | ||
+ | Purge cached user preferences: | ||
+ | |||
+ | killall -u $USER cfprefsd | ||
+ | | ||
+ | Unlock folder and all files therein: | ||
+ | |||
+ | chflags -R nouchg / | ||
+ |
code/terminalcmds.txt · Last modified: 2023/04/26 12:16 by michfiel