Frequently used command line shortcut keys (Mac)

Move cursor to the beginning of a line

Ctrl + f
Move one character forward
Ctrl + a
Move to the beginning of the line
After escaping, f
Move forward one word
# Move cursor to end of line
Ctrl + b
Move one character backward
Ctrl + e
Move to the end of the line
After escaping, b
Move backward by one word
# Delete characters
Ctrl + h
Delete one character after
Ctrl + d
Delete one character at the cursor position
Ctrl + w
Delete one word separated by trailing space
# Cut and paste
Ctrl + k
Cut from the cursor position to the end of the line
Ctrl + u
Cut from the cursor position to the beginning of the line
Ctrl + y
Paste
# Clear screen
Ctrl + l
Clear screen

Recommended Posts

Frequently used command line shortcut keys (Mac)
Linux command line shortcut
Frequently used (personally) notes on the tar command
Summary of tools used in Command Line vol.8
Summary of tools used in Command Line vol.5
[Linux command] A memorandum of frequently used commands
pyenv Frequently used commands
Command line introductory notes
Frequently used tmux commands
Frequently used Linux commands
Frequently used Linux commands
Frequently used linux commands
Frequently used pip commands