这篇 Bash Shell Shortcuts 的快捷键总结的非常好。值得学习。下面内容大多数是拷贝粘贴与总结.

CTRL 键相关的快捷键:

Ctrl + a - Jump to the start of the line
Ctrl + b - Move back a char
Ctrl + c - Terminate the command  //用的最多了吧?
Ctrl + d - Delete from under the cursor
Ctrl + e - Jump to the end of the line
Ctrl + f - Move forward a char
Ctrl + k - Delete to EOL
Ctrl + l - Clear the screen  //清屏,类似 clear 命令
Ctrl + r - Search the history backwards  //查找历史命令
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 - 删除最后输入的单词 

ALT 键相关的快捷键:

平时很少用。有些和远程登陆工具冲突。

Alt + < - Move to the first line in the history
Alt + > - Move to the last line in the history
Alt + ? - Show current completion list
Alt + * - Insert all possible completions
Alt + / - Attempt to complete filename
Alt + . - Yank last argument to previous command
Alt + b - Move backward
Alt + c - Capitalize the word
Alt + d - Delete word
Alt + f - Move forward
Alt + l - Make word lowercase
Alt + n - Search the history forwards non-incremental
Alt + p - Search the history backwards non-incremental
Alt + r - Recall command
Alt + t - Move words around
Alt + u - Make word uppercase
Alt + back-space - Delete backward from cursor // SecureCRT 如果没有配置好,这个就很管用了。

其他特定的键绑定:

输入 bind -P 可以查看所有的键盘绑定。这一系列我觉得更为实用。

Here "2T" means Press TAB twice
$ 2T - All available commands(common) //命令行补全,我认为是 Bash 最好用的一点
$ (string)2T - All available commands starting with (string)
$ /2T - Entire directory structure including Hidden one
$ ./2T - Only Sub Dirs inside including Hidden one
$ *2T - Only Sub Dirs inside without Hidden one
$ ~2T - All Present Users on system from "/etc/passwd" //第一次见到,很好用
$ $2T - All Sys variables //写Shell脚本的时候很实用
$ @2T - Entries from "/etc/hosts"  //第一次见到
$ =2T - Output like ls or dir //好像还不如 ls 快捷
补充:
Esc + T - 交换光标前面的两个单词

From: http://dbanotes.net/tech-memo/shell_shortcut.html

〖Linux〗Bash快捷键使用相关推荐

  1. linux Bash快捷键大全

    bash快捷键大全原文 在Linux下,Bash的地位无可忽视,日常中涉及到Linux下的管理与操作基本都是在Bash中进行,因此,为了提高Linux下工作效率,自然而然的就变成了如何高效使用Bash ...

  2. linux 历史命令快捷键,Linux历史命令及bash快捷键

    本文环境 Centos7 1.历史命令 1.1 在使用linux中熟练的使用历史命令,能给我很多便捷,下面我来总结一些常用的一些历史命令. a) 执行上一条命令,这个很重要 ,执行上一条命令有四种方法 ...

  3. linux 相关快捷键

    linux 相关快捷键 http://linux.chinaunix.net/begin/2004-10-05/34.shtml#_Toc41417098 1.使用虚拟控制台 登录后按"Al ...

  4. 中断linux命令快捷键_Linux常用快捷键和基本命令

    Linux常用快捷键和基本命令整理,先上思维导图: 命令行提示符 如下为基本命令行提示符的样子,其中root为用户名,代表超级用户,oldbodyedu代表主机名,~代表当前目录,即家目录,#是超级用 ...

  5. Linux bash命令

    查看当前用户 whoami 查看当前路径 pwd ~ 用户的家目录, /root  /home/yangxinxin 主机名 hostname PS1变量控制 PS1='[\u@\h \W]\$ ' ...

  6. 【Linux】Linux常用快捷键

    前言:由于需要,梳理了一下常用的快捷键,以便忘记时查找. Linux系统快捷键:(Bash解释器) 1)Tab键 补齐命令 补齐路径 显示当前目录下的所有目录 2)清屏: clear Ctrl + L ...

  7. Bash 快捷键大全

    转载同名文章<Bash 快捷键大全> 在Linux下,Bash的地位无可忽视,日常中涉及到Linux下的管理与操作基本都是在Bash中进行,因此,为了提高Linux下工作效率,自然而然的就 ...

  8. Bash 快捷键 完整版

    Bash 快捷键 完整版 之一: 发表于173 天前 ⁄ Linux基础 ⁄ 评论数 3 ⁄ 被围观 1,903 views+ 文章目录[隐藏] 编辑命令 重新执行命令 控制命令 Bang (!) 命 ...

  9. Linux bash 的基础特性

    Linux bash 基础特性 bash基础特性之一:命令历史 bash基础特性之二:命令或路径补全 bash基础特性之三:命令行展开 bash基础特性之四:命令的执行状态结果 bash基础特性之五: ...

  10. Linux的快捷键和主要命令(转)

    Linux的快捷键和主要命令(转)[@more@]作者:幻影快递Linux小组 5.1 Linux基本的键盘输入快捷键和一些常用命令 5.2 帮助命令 5.3 系统信息 5.4 基本操作 5.5 文件 ...

最新文章

  1. keras和tensorflow使用 fit_generator 批次训练
  2. 利用Matlab设计滤波器(FDAT)
  3. centos5.4 安装配置oracle10g
  4. numpy输出到屏幕时有逗号和没逗号的原因
  5. SpringMVC项目中,jsp文件无法显示从Controller中传递过来的ModelAndView的模型数据
  6. 详解电脑蓝屏怎么回事
  7. tomcat7的安装与maven安装
  8. 【算法学习】蝙蝠算法简介
  9. hp刀片服务器性能分析,IBM刀片服务器与高性能计算-20210723075634.ppt-原创力文档...
  10. imperva数据库脱敏-server2008
  11. 科普:互联网的岗位职责和技能
  12. 孙悟空的师父是谁? (ZT)
  13. Service与Android系统设计-- libbinder 转载
  14. 多目标应用:基于MOGWO的地铁隧道上方基坑工程优化设计(提供MATLAB代码)
  15. SVAC1.0帧内预测技术分析
  16. 【趣味科普】数学中的励志故事
  17. 第五章第六题(英里与千米之间的互换)(Conversion from mile to kilometer and kilometer to mile)
  18. mysql的乐观锁,悲观锁(共享锁,排斥锁)
  19. 8人Python-----day02
  20. 小程序 | 注释级微信小程序demo,助你快速切入开发

热门文章

  1. Android通用简洁的下载器
  2. 码云gitee最大文件限制
  3. python中的mysql数据库like模糊查询
  4. cv2.putText
  5. Spring Security源码分析十三:Spring Security 基于表达式的权限控制
  6. MySQL 5.1 分区技术初探(一)
  7. 微软云Azure创建一个web app
  8. Redis~Linux环境下的部署
  9. 预加载系列一:DNS Prefetching 的正确使用姿势
  10. linux新内核的freeze框架以及意义