>_FoxiRef
>_/shortcuts/terminal
Terminal

Terminal Shortcuts

Terminal/Shell keyboard shortcuts

#Cursor Movement

ActionShortcut
Beginning of lineCtrl + A
End of lineCtrl + E
Forward one characterCtrl + F
Backward one characterCtrl + B
Forward one wordOption + F (Mac) / Alt + F
Backward one wordOption + B (Mac) / Alt + B

#Editing

ActionShortcut
Delete character before cursorCtrl + H / Backspace
Delete character after cursorCtrl + D
Delete word before cursorCtrl + W
Delete word after cursorOption + D (Mac) / Alt + D
Delete to end of lineCtrl + K
Delete to beginning of lineCtrl + U
Transpose charactersCtrl + T
Paste last deletedCtrl + Y
Clear lineCtrl + C

#History

ActionShortcut
Previous commandCtrl + P / ↑
Next commandCtrl + N / ↓
Search historyCtrl + R
Cancel searchCtrl + G
Run last command!!
Last argument of previous command!$
List historyhistory

#Process Control

ActionShortcut
Interrupt (SIGINT)Ctrl + C
Suspend processCtrl + Z
EOF (End of input)Ctrl + D
Quit (SIGQUIT)Ctrl + \
Resume in backgroundbg
Resume in foregroundfg

#Screen

ActionShortcut
Clear screenCtrl + L / clear
Stop outputCtrl + S
Resume outputCtrl + Q

#Auto Completion

ActionShortcut
Auto completeTab
Show all completionsTab Tab

#iTerm2 Specific (Mac)

ActionShortcut
New tab⌘ + T
Close tab⌘ + W
Split horizontally⌘ + D
Split vertically⌘ + Shift + D
Switch panes⌘ + Option + λ°©ν–₯ν‚€
Find⌘ + F
Full screen⌘ + Enter
Hotkey windowμ„€μ • ν•„μš”
Instant replay⌘ + Option + B

Note

Most shortcuts work across Unix shells like Bash and Zsh. iTerm2 specific shortcuts are only available on Mac.

이 ν¬μŠ€νŒ…μ€ 쿠팑 νŒŒνŠΈλ„ˆμŠ€ ν™œλ™μ˜ μΌν™˜μœΌλ‘œ, 이에 λ”°λ₯Έ μΌμ •μ•‘μ˜ 수수료λ₯Ό μ œκ³΅λ°›μŠ΅λ‹ˆλ‹€.

Terminal Shortcuts - Terminal Keyboard Shortcuts | Foxi Dev Reference