Mac 终端Terminal光标移动快捷键
source link: http://www.chenshake.com/mac-terminal-terminal-terminal-cursor-movement-shortcuts/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
- 将光标移动到行首:
control + a
- 将光标移动到行尾:
control + e
- 清除屏幕:
control + l
- 搜索以前使用命令:
control + r
- 清除当前行:
control + u
- 清除至当前行尾:
control + k
- 单词为单位移动:
option + 方向键
对于linux下
- ctrl+a 行首
- ctrl+e 行尾
- ctrl+k 删除至行尾
Posted by 陈沙克 at 8:41 AM
Leave a Reply Cancel reply
Your Comment
Name (required)
E-mail (required)
Website
Save my name, email, and website in this browser for the next time I comment.
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK