essential shortcuts

General Windows / Linux macOS
Open file ⌃ Ctrl + O ⌘ Cmd + O
Save ⌃ Ctrl + S ⌘ Cmd + S
Save as ⌃ Ctrl + ⇧ Shift + S ⇧ Shift + ⌘ Cmd + S
Print ⌃ Ctrl + P ⌘ Cmd + P
Refresh F5 ⌘ Cmd + R
Select all ⌃ Ctrl + A ⌘ Cmd + A
Search ⌃ Ctrl + F ⌘ Cmd + F

Text editing Windows / Linux macOS
Cut selection ⌃ Ctrl + X ⌘ Cmd + X
Copy selection ⌃ Ctrl + C ⌘ Cmd + C
Paste ⌃ Ctrl + V ⌘ Cmd + V
Undo ⌃ Ctrl + Z ⌘ Cmd + Z
Redo ⌃ Ctrl + Y ⇧ Shift + ⌘ Cmd + Z
Go to Beginning of Line ⇱ Home ⌘ Cmd + ← Left
Go to End of Line ⇲ End ⌘ Cmd + → Right

shell shortcuts

Text editing command prompt powershell linux bash mac terminal
Scroll through
history of commands
↑ Up or ↓ Down
Cancel editing the line ⌃ Ctrl + C
Auto-complete
file/folder name
↹ Tab
Beginning of Line ⇱ Home ⌃ Ctrl + A
End of Line ⇲ End ⌃ Ctrl + E
Backward a word ⌃ Ctrl + ← Left ⎇ Alt + B ⌥ Option + ← Left
Forward a word ⌃ Ctrl + → Right ⎇ Alt + F ⌥ Option + → Right
Delete to the
Beginning of Line
⌃ Ctrl + ⇱ Home ⌃ Ctrl + U
Delete to the
End of Line
⌃ Ctrl + ⇲ End ⌃ Ctrl + K
Delete backward to the
beginning of the word
⌃ Ctrl + ⌫ Backspace ⌃ Ctrl + W
Delete forward to
the end of the word
⌃ Ctrl + ⌦ Delete ⎇ Alt + D ⌥ Option + D
Paste ⌃ Ctrl + V ⌃ Ctrl + Y ⌘ Cmd + V