Shell Flashcards
Delete the character to the left of the insertion point.
Control-H Or use Delete.
Delete the character to the right of the insertion point.
Control-D Or use Fn-Delete.
Forward delete on keyboards that don’t have a Forward Delete key.
Control-D.
Page Up — Scroll up one page.
Fn-Up Arrow
Page Down — Scroll down one page.
Fn-Down Arrow
Home — Scroll to the beginning of a document.
Fn-Left Arrow
End — Scroll to the end of a document.
Fn-Right Arrow
Command-Left Arrow
Move the insertion point to the beginning of the current line.
Command-Right Arrow
Move the insertion point to the end of the current line.
Option-Left Arrow
Move the insertion point to the beginning of the previous word.
Option-Right Arrow
Move the insertion point to the end of the next word.
Shift-Command-Left Arrow
Select the text between the insertion point and the beginning of the current line.
Shift-Command-Right Arrow
Select the text between the insertion point and the end of the current line.
Shift-Up Arrow
Extend text selection to the nearest character at the same horizontal location on the line above.
Shift-Down Arrow
Extend text selection to the nearest character at the same horizontal location on the line below.
Shift-Left Arrow
Extend text selection one character to the left.
Shift-Right Arrow
Extend text selection one character to the right.
Option-Shift-Left Arrow
Extend text selection to the beginning of the current word then to the beginning of the following word if pressed again.
Option-Shift-Right Arrow
Extend text selection to the end of the current word then to the end of the following word if pressed again.
Control-A
Move to the beginning of the line or paragraph.
Control-E
Move to the end of a line or paragraph.
Control-F
Move one character forwards.
Control-B
Move one character backwards.
Control-L
Centre the cursor or selection in the visible area.
Control-P
Move up one line.
Control-N
Move down one line.
Control-T
Swap the character behind the insertion point with the character in front of the insertion point.
Recursively find file
find . -name “test*”
Search history
Control + r
Navi Shell Snippets
Control + g