Mac Usage
Packages Upgrade and Check
$ bubu # brew update && brew outdated && brew upgrade && brew cleanup
$ brew doctor
$ ncu -g
$ npm doctor
$ gem update
$ gem cleanup
Keyboard Shortcuts
Common Shortcuts
Command-,
: Open preferences for the front appShift-Command-T
: Reopen the last closed tabShift-Command-[
: Switch to previous tabShift-Command-]
: Switch to next tab
Finder Shortcuts
Shift-Command-.
: Toggle show hidden files
System Shortcuts
Option–Volume Up
/ Option–Volume Down
: Open Sound preferences.Option–Shift–Volume Up
/ Option–Shift–Volume Down
: Adjust the sound volume in smaller steps.Option–Brightness Up
/ Option–Brightness Down
: Open Displays preferences.Option–Shift–Brightness Up
/ Option–Shift–Brightness Down
: Adjust the display brightness in smaller steps.Control-Command-Q
: Immediately lock your screen.
Document Shortcuts
Option–Left
: Move the insertion point to the beginning of the previous wordOption–Right
: Move the insertion point to the end of the next wordOption-Delete
: Delete the word to the left of the insertion pointControl-A
: Move to the beginning of the line or paragraphControl-E
: Move to the end of the line or paragraph