今天在网上闲逛,看到篇不错的文章, Keyboard Shortcuts for Bash 我摘录过来
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + L Clears the Screen, similar to the clear command
Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + H Same as backspace
Ctrl + R Let’s you search through previously used commands
Ctrl + C Kill whatever you are running
Ctrl + D Exit the current shell
Ctrl + Z Puts whatever you are running into a suspended background process. fg restores it.
Ctrl + W Delete the word before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + T Swap the last two characters before the cursor
Esc + T Swap the last two words before the cursor
Alt + F Move cursor forward one word on the current line
Alt + B Move cursor backward one word on the current line
Tab Auto-complete files and folder names
发现我朋友 linuxcoffee 已经写了一篇了,所以就直接帖过来了. 见 Shell Tips - Hot key in Bash (Bash中的快捷键 - Cool!)
Ctrl + A : 光标移到行首
Ctrl + E : 光标移到行尾
Ctrl + L : 清屏
Ctrl + U : 清除光标前至行首间的所有内容
Ctrl + H : 同 backspace 键相同
Ctrl + R : 搜索之前打过的命令
Ctrl + C : 杀死当前进程
Ctrl + D : 退出当前 Shell
Ctrl + Z : 把当前进程转到后台运行,使用’ fg ‘命令恢复
Ctrl + W : 移除光标前的一个单词
Ctrl + K : 清除光标后至行尾的内容
Ctrl + T : 交换光标位置前的两个字符
Esc + T : 交换光标位置前的两个单词
Alt + F : 在当前行把光标向前移一个单词
Alt + B : 在当前行把光标向后移一个单词
Tab : 自动补完命令
加一些补充
(more…)
bash,
Linux
分享到:
相关推荐
bash-vi-editing-mode-cheat-sheet Readline VI Editing Mode Cheat Sheet Default Keyboard Shortcuts for Bash
在Linux操作系统中,Bash(Bourne-Again SHell)是默认的命令行解释器,为用户提供了高效且强大的交互式环境。了解并熟练掌握Bash终端的键盘快捷键可以显著提高工作效率,尤其是在处理文件、目录管理和系统信息查询...
在Linux操作系统中,掌握Bash终端的导航技巧是成为高效用户的关键步骤。Bash终端键盘快捷键能够极大地提升你的工作效率,使你在命令行界面中游刃有余。以下是一些常用的Bash终端导航快捷键及其功能详解: 1. **Ctrl...
在Linux系统中,Bash(Bourne-Again SHell)是默认的终端Shell,它提供了丰富的命令行交互体验。为了提高工作效率,了解并熟练掌握Bash终端中的键盘快捷键,特别是与历史命令相关的快捷键,是每一个系统管理员和...
在IT行业中,Bash Shell是Linux和Unix操作系统中广泛使用的命令行界面,它为用户提供了一种与系统交互的高效方式。对于经常在终端中工作的人来说,掌握Bash终端的编辑快捷键可以极大地提高工作效率。以下是一些关键...
在Linux和Unix-like操作系统中,Bash(Bourne-Again SHell)是默认的命令行解释器,它提供了一个与系统交互的强大环境。对于高效地操作终端,掌握Bash的快捷键至关重要,特别是用于控制进程的那些。下面将详细阐述...
Linux Bash 终端 Keyboard 快捷键大全 在 Linux 操作系统中,Bash(Bourne Again Shell)是最流行的命令语言解释器。它支持函数、变量和流程控制,并且可以从文件中读取和执行命令。为了提高在终端中的工作效率,...
Django Admin键盘快捷键实验 将此应用视为被放弃的实验。 不要在生产中使用它。 此实验的目的是为您的... 在您的项目设置中,在django.contrib.admin之前将admin_keyboard_shortcuts添加到您的INSTALLED_APPS ..代码
New keyboard shortcuts; Paste from clipboard (Ctrl-V). Incremental history search (Ctrl-R/Ctrl-S). Powerful completion (TAB). Undo (Ctrl-Z). Automatic “cd ..” (Ctrl-Alt-U). Environment variable ...
You also learn how to assign keyboard shortcuts. You will master debugging by inserting breakpoints, collecting runtime data, and debugging from the console. You will understand how PyCharm works ...
- **Navigating the Desktop**: Tips on using the mouse, keyboard shortcuts, and touchpad gestures to navigate the desktop efficiently. - **Customizing the Desktop**: Techniques for customizing the ...
- **集成终端**:设置VSCode内置终端的默认Shell为Git Bash或WSL(Windows Subsystem for Linux),提升命令行操作体验。 - **自动完成和智能感知**:"JavaScript Language Basics"和"TypeScript"扩展提供...
6. **显示设置:** 在使用 Gnome 的终端时,可以进入“Edit”菜单的“Keyboard Shortcuts”选项中禁用所有菜单访问键和快捷键,以减少误触。 7. **实践示例:** - 执行 `echo "hello, world."` 命令后,使用 `...