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 - 交换光标前面的两个单词
分享到:
相关推荐
专业技术文档
bash快捷键、Linux有关网络配置的命令 一、创建shell脚本、重定向输入与输出、执行数学运算、退出脚本 二、shell脚本中的各种结构化命令的格式与用法(for、while、until、break等) 三、处理用户的输入:命令行参数...
安卓系统下的bash shell,ssh服务器,gcc编译器以及vim文本编辑器等 使用vim编辑多个文件 vim file1 file2 file3 ... :next查看或编辑后一个文档的内容 :prev查看或编辑前一个文档的内容 :first查看或...
有时候,我们需要在 Bash 中重复执行先前的命令。所以学习shell编程快捷键对工作非常有帮助,下面由脚本之家小编给大家介绍Linux下Shell编程快捷键大全,需要的朋友参考下吧
10.3.2 Shell基础-Bash基本功能-别名与快捷键.mp4 10.3.3 Shell基础-Bash基本功能-输入输出重定向.mp4 10.3.4 Shell基础-Bash基本功能-多命令顺序执行与管道符.mp4 10.3.5 Shell基础-Bash基本功能-通配符和其他...
My Git Bash 目录 安装 tmux 自动恢复 session 和持久化 session 插件 安装我的 git 配置 其它 在 VSCode 中配置 Git Bash ...所以,我建议使用 Windows Terinal 作为终端,Git Bash 作为 Shell 搭配其使
tab建,快捷键,历史记录,管道符,重定向 -------------------------------------------------------------------------- 规范的shell脚本 1,声明解释器 2,注释脚本功能,变量含义等等 3,执行代码 ---------------------...
iTerm2是一款比较小众的软件,以设置主题,支持画面分隔、各种快捷键。Mac默认使用的shell是bash,我们可以换成zsh,搭配iTerm2使用,用起来十分顺手
curl -s "https://raw.githubusercontent.com/superhj1987/awesome-mac-things/master/get.sh" | bash -s 下载源代码并make install 下载源并将bin设置到系统路径以使用常用用法shell卸载卸载用法mthings 显示系统...
用这个 bash 脚本控制你的 X 鼠标指针。 ##Installation 这个工具依赖于xdotool ,用sudo apt-get install xdotool $ git clone https://github.com/thomasbacklund/BashMouse.git ##Usage ./mouse.sh [right|left...
下述所有命令在Linux/unix的shell下有效,这里以bash为主。如有出入,以你自己的服务器为准。本文所指的Linux主要指RHEL/CentOS,unix指的是FreeBSD,这也是服务器中用得最多的版本。
完全可配置的快捷键和多键快捷键 分体式窗格 自动保存标签页 支持 PowerShell(和 PS Core)、WSL、Git-Bash、Cygwin、MSYS2、Cmder 和 CMD 在 SSH 会话中通过 Zmodem 进行直接文件传输 完整的 Unicode 支持,包括...
完全可配置的快捷键和多键快捷键 分体式窗格 自动保存标签页 支持 PowerShell(和 PS Core)、WSL、Git-Bash、Cygwin、MSYS2、Cmder 和 CMD 在 SSH 会话中通过 Zmodem 进行直接文件传输 完整的 Unicode 支持,包括...
gedit_external-tools_run_execute 从gedit 3.38运行c,c ++,python程序的bash脚本 在gedit的外部工具中复制run.sh的内容,并将您的快捷键设置为在终端中运行代码。
目录 网盘文件永久连接 1 Linux系统简介 1.1.1 Linux系统简介-UNIX发展历史和发行版本 ...10.3.2 Shell基础-Bash基本功能-别名与快捷键 10.3.3 Shell基础-Bash基本功能-输入输出重定向 10.3.4 Shell基础-Bash基本功能
1 Linux系统简介 1.1.1 Linux系统简介-UNIX发展历史...10.3.2 Shell基础-Bash基本功能-别名与快捷键 10.3.3 Shell基础-Bash基本功能-输入输出重定向 10.3.4 Shell基础-Bash基本功能-多命令顺序执行与管道符 10.3.5.....
shell概述 脚本执行方式: 1、echo 输出命令 echo [选项] [输出内容] #选项:-e:支持反斜线控制的字符转换 \e[1;31m 开启颜色显示,结尾要加上 \e[0m ...一、命令别名与快捷键 1、查看与设定别名(临
文档命令和键盘快捷键 创造富有成效的工作环境 安装 要求 项目要求由bootstrap_dotfiles.sh和/或(可选) Makefile安装。 Bash,Git,Python,pip 安装点文件 资料来源: ...
还支持快捷键和多项选择! 安装: Eclipse Markeplace: : 要么 使用更新站点: : 要么 或 将其解压缩到“ eclipse \ dropin”文件夹并重新启动。 特征: 该插件的原理是独立于平台的。 它只是启动(可配置...