您的位置:首页 > 运维架构 > Shell

linxu shell 快捷键

2014-03-25 17:21 120 查看
linux下vim的快捷键大家都很熟悉,但shell的快捷键用的人可能不多,你遇到过下面的问题吗:
输入长长的一个命令,最后发现第一个字符写错了,于是狂按方向左移键到开头修改,然后狂按方向右移键到最后继续输入......

下面的快捷键C指Ctrl,

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: