[Bash] Shortcut

Shortcut

For example we have a long command: curl -i http://example.com

Ctrl + a

Move to the beginning of the line

Ctrl + e

Move to the end of the line

Ctrl + k

Remove content from current cursor position to the end of the line.

Ctrl + w

Delete the last word.

Ctrl + l

Clear the screen.

posted @ 2021-02-11 20:11  Zhentiw  阅读(78)  评论(0编辑  收藏  举报