linux sheel 快捷键
14 Jan 2014linux下vim的快捷键大家都很熟悉,但shell的快捷键用的人可能不多,你遇到过下面的问题吗:
输入长长的一个命令,最后发现第一个字符写错了,于是狂按方向左移键到开头修改,然后狂按方向右移键到最后继续输入……
下面的快捷键C指Ctrl,(C-a)指Ctrl+a
beginning-of-line (C-a),移动到开头
Move to the start of the current line.
end-of-line (C-e),移动到最后
Move to the end of the line.
forward-char (C-f),前移一个字符
Move forward a character.
backward-char (C-b),后移一个字符
Move back a character.
clear-screen (C-l),清屏,等同于clear命令
Clear the screen and redraw the current line, leaving the current line at the top of the screen.