Command Line Tips and Tricks
macOS terminal
To get the most of this workshop, it’s worth briefly reviewing some command line shortcuts that will help you make more art more quickly.
control + A
: moves cursor to the beginning of the linecontrol + E
: moves cursor to the end of the linecontrol + C
: kills a running processcommand + N
: opens a new terminal windowcommand + T
: opens a new terminal tabcommand + Delete
: erases character to the right of the cursorDelete
: erases character to the left of the cursorcontrol + U
: clears current linecommand + K
: clears terminal to startcommand + L
: clears terminal to previous markHolding the Option key + moving the pointer
: repositions the insertion point (super handy for switching a-p
flag to a-s
flag)command + Plus (+)
: makes terminal font biggercommand + Minus (-)
: makes terminal font smallerArrow Up
: scrolls through previously entered commandsArrow Down
: goes in the opposite directionTab
: autocompletes a command after typing a few letters
PowerShell
Home
: moves cursor to the beginning of the lineEnd
: moves cursor to the end of the linecontrol + C
: kills a running processalt + X
theni
: opens a new powershell windowDel
: erases character to the right of the cursorBackspace
: erases character to the left of the cursorEsc
: deletes entire current linecontrol + Home
: deletes all characters at the current position up to the beginning of the linecontrol + End
: deletes everything from the current cursor position up to the end of the lineArrow Up
: scrolls through previously entered commandsArrow Down
: goes in the opposite directionTab
: autocompletes a command after typing a few lettersTab
: autocompletes a command after typing a few letters