Bash Shell 快捷键

Friday, January 29, 2010

Ctrl + a - 跳到行首
Ctrl + b - 左移一个字符
Ctrl + c - 终端进程
Ctrl + d - 从光标处向右删除
Ctrl + e - 跳到行尾
Ctrl + f - 右移一个字符
Ctrl + k - 从光标处删除到行尾
Ctrl + l - 清屏,类似 clear 命令
Ctrl + r - 查找历史命令
Ctrl + R - Search the history backwards with multi occurrence
Ctrl + u - Delete backward from cursor // 密码输入错误的时候比较有用
Ctrl + xx - Move between EOL and current cursor position
Ctrl + x @ - Show possible hostname completions
Ctrl + z - Suspend/ Stop the command
补充:
Ctrl + h - 删除当前字符
Ctrl + w - 删除最后输入的单词

This entry was tagged Linux

comments powered by Disqus

© 2009-2013 lxneng.com. All rights reserved. Powered by Pyramid

go to Top