ctrl+l | 清屏 |
ctrl+c | 终止命令 |
ctrl+d | 退出shell,好像也可以表示EOF |
ctrl+z | 将当前进程置于后台,fg还原。 |
ctrl+r | 从命令历史中找 |
ctrl+a | 光标移到行首 |
ctrl+e | 光标移到行尾 |
ctrl+w | 清除光标之前一个单词 |
ctrl+u | 清除光标到行首的字符 |
ctrl+k | 清除光标到行尾的字符 |
ctrl+t | 交换光标前两个字符 |
ctrl+y | 粘贴前一ctrl+u类命令删除的字符 |
<ESC>+f | 光标后移1个单词 |
<ESC>+b | 光标前移1个单词 |
ctrl+s | 挂起当前shell |
ctrl+q | 重新启用挂起的shell |
!! | 执行上一条命令 |
!n:p | 打印倒数第n条命令(不执行) |
!?string? | 最新一条含有"string"的命令 |
!string | 最新一条以"string"开头的命令 |
!$ | 显示系统最近的一条参数 |
reset,history,exit,clear
参考
【1】 查看更多命令
http://forum.ubuntu.org.cn/viewtopic.php?f=21&t=81951&start=0
http://bbs.unixcom.cn/thread-4966-1-1.html
【2】 总结的相当不错
http://blog.csdn.net/knityster/article/details/6312523
http://www.cnblogs.com/opaque/archive/2011/07/06/2099106.html