MacOSX

Mac keyboard shortcuts

General

ActionShortcut
ShutdownCtrl+Alt/Option+Cmd+Power
Backslash \Alt+Shift+7
Right click with a trackpadCtrl+click button
Pipe |Alt + 7
Force quit applicationsCommand+Option+Esc
ShiftAlt ⌥Shift+Alt ⌥
5%[fi
6&]^
7/|\
8({~
9)}

https://www.amsys.co.uk/save-time-using-top-ten-os-x-keyboard-shortcuts/

https://support.apple.com/en-us/HT201236

“Task manager” = “Activity Monitor”

Terminal

ActionShortcut
Ctrl + AJump to start of the line
Ctrl + EJump to end of the line

https://scriptingosx.com/2017/03/navigating-the-terminal-prompt/

Get Mac OS X version

user@mac ~ % sw_vers
ProductName:	Mac OS X
ProductVersion:	10.15.7
BuildVersion:	19H15

Get hardware version

system_profiler SPHardwareDataType

Install software

ethvbtbsrg

Misc

Repeat the same task over and over (yes yes, I know…)

bash -c 'while [ 0 ]; do date;done'
bash -c 'while [ 0 ]; do rsync -av /Volumes/myfiles/ /Volumes/projects/myfolder/ ;done'

Keyboard mappings using a PC keyboard on a Macintosh

https://support.microsoft.com/en-us/help/970299/keyboard-mappings-using-a-pc-keyboard-on-a-macintosh

Diagnostics

https://support.apple.com/en-us/HT202731

Boot an M1 mac on another drive

Turn the Mac back on with a long press of the power button, holding until the screen shows startup options.

Random stuff

https://ss64.com/osx/

VM from MacOSX (I dont’t remember what this exactly does :/)

Shift+Option Alt-Gr

Compatibility Matrix: https://eshop.macsales.com/guides/Mac_OS_X_Compatibility