Linux Learning Notes--common shortcut keys under the command line

Source: Internet
Author: User

This article mainly introduces several common shortcut keys under the Linux Bash Shell.

To delete a class shortcut key:

"ctrl + k"  删除光标后面所有字符"ctrl + u"  删除光标前面所有字符"ctrl + w"  删除光标前一个单词"ctrl + y"  恢复"ctrl+k"、"ctrl+u"、"ctrl+w"等上次执行时删除的字符"ctrl + ?"  撤消前一次输入

Move class shortcut keys:

"ctrl + a"  将光标移动到命令行开头"ctrl + e"  将光标移动到命令行结尾"ctrl + →" 光标移动到后一个单词开头"ctrl + ←" 光标移动到前一个单词结尾

History commands Find class shortcut keys:

"↑"        查找上一个执行过的命令"↓"        查找下一个执行过的命令"ctrl + p"  查找上一个执行过的命令"ctrl + r"  输入单词搜索历史命令

Other shortcut keys:

"ctrl + c"  强制终止当前命令"ctrl + l"  清屏,相当于"clear"命令"TAB"       命令或者目录自动补全"ctrl + s"  锁住终端"ctrl + q"  解锁终端"alt + r"   Xshell快捷键,使Xshell工具半透明

There are many shortcut keys under the Linux command line, here are a few more commonly used.

In other words, after using the shortcut key, hit the code immediately feel tall on it.

Linux Learning Notes--common shortcut keys under the command line

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.