text [终端 - 命令]终端(Bash)命令#Command

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text [终端 - 命令]终端(Bash)命令#Command相关的知识,希望对你有一定的参考价值。

Basic moves
==============
1. Move back one character. Ctrl + b
2. Move forward one character. Ctrl + f
3. Delete current character. Ctrl + d
4. Delete previous character. Backspace
5. Undo. Ctrl + -

Moving faster
==============
1. Move to the start of line. Ctrl + a
2. Move to the end of line. Ctrl + e
3. Move forward a word. Meta + f (a word contains alphabets and digits, no symbols)
4. Move backward a word. Meta + b
5. Clear the screen. Ctrl + l

Search the command history
===================
1. Search as you type. Ctrl + r and type the search term; Repeat Ctrl + r to loop through results.
2. Search the last remembered search term. Ctrl + r twice.
3. End the search at current history entry. Ctrl + j
4. Cancel the search and restore original line. Ctrl + g


http://teohm.com/blog/shortcuts-to-move-faster-in-bash-command-line/

以上是关于text [终端 - 命令]终端(Bash)命令#Command的主要内容,如果未能解决你的问题,请参考以下文章

终端:-bash:'别名:找不到命令

Linux终端里除了cd命令,其他命令都报没有那个文件或目录

从 JavaScript 打开终端并运行 bash 命令 Linux

修改bash终端命令行颜色

Mac 终端 -bash 命令未找到? [关闭]

markdown Bash:终端:命令:echo