MacOSX
Mac keyboard shortcuts
General
Action | Shortcut |
---|---|
Shutdown | Ctrl+Alt/Option+Cmd+Power |
Backslash \ | Alt+Shift+7 |
Right click with a trackpad | Ctrl+click button |
Pipe | | Alt + 7 |
Force quit applications | Command+Option+Esc |
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
Action | Shortcut |
---|---|
Ctrl + A | Jump to start of the line |
Ctrl + E | Jump 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
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