code:terminalcmds
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| code:terminalcmds [2020/06/09 13:04] – michfiel | code:terminalcmds [2025/09/21 15:26] (current) – michfiel | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Useful Terminal Commands ===== | ===== Useful Terminal Commands ===== | ||
| + | |||
| + | Update macOS: | ||
| + | sudo softwareupdate | ||
| + | | ||
| + | Mute Startup Sound: | ||
| + | sudo nvram StartupMute=%01 | ||
| Erase Hard Disk: | Erase Hard Disk: | ||
| Line 32: | Line 38: | ||
| date 0318125013 | date 0318125013 | ||
| + | | ||
| + | Purge cached user preferences: | ||
| + | |||
| + | killall -u $USER cfprefsd | ||
| + | | ||
| + | Unlock folder and all files therein: | ||
| + | |||
| + | chflags -R nouchg / | ||
| + | |||
| + | |||
| + | Enable Screen Sharing | ||
| + | sudo defaults write / | ||
| + | sudo launchctl load -w / | ||
| + | |||
| + | Remove all files from git cache | ||
| + | git rm -r --cached . | ||
| + | git add . | ||
| + | git commit -m " | ||
| + | |||
code/terminalcmds.1591700641.txt.gz · Last modified: by michfiel
