Shell command-line shortcut keys

Source: Internet
Author: User

In the shell command terminal, CTRL + N equals the direction-down direction key, ctrl+p the direction key that corresponds to the direction.   in the command terminal through them or the arrow keys can be used to quickly find the history command. This is also a quick technique for entering commands.   in the command terminal, you can quickly retrieve used historical commands through the ctrl+r  implementation. Ctrl+r R is the R in retrieve.  CTRL+A: The cursor returns to the beginning of the command.   (A:ahead)  ctrl+e: The cursor returns to the end of the command line.   (e:end)  ctrl+b: The cursor moves one character to the beginning of the line.   (b:backwards)  ctrl+ f: The cursor moves one character at the end of the line.   (f:forwards)  Ctrl+w:  Delete the character at the beginning of the cursor.  ctrl+k: Deletes the character at the end of the line at the cursor.  ctrl+u: Deletes the entire command line text character.  ctrl+h: Removes a character from the beginning of the line.  ctrl+d: Deletes one character at the end of a line.    ctrl+y:: Paste ctrl+u,ctrl+k,ctrl+w deleted text.  Ctrl+p:  previous used History command.   (p:previous)  Ctrl+n:  the next used History command. (n:next )  ctrl+r: Quick Search History command. (R:retrieve).  Ctrl+t:  swap the character of the cursor and its preceding character.  ctrl+i: Equivalent to Tab key.  ctrl+o: Equivalent to ctrl+m. ctrl+m: quite enter key.     other control keys:  ctrl+s: Make the Terminal daze, still, can make the terminal screen of the fast output stop.  ctrl+q: Exit Ctrl+s caused by Daze.  ctrl+z: Enables tasks that are running in the terminal to run in the background.   (FG Recovery available)  ctrl+c: Interrupts the task being performed in the terminal.  Ctrl+d:  can exit the terminal in the case of an empty command line.  ctrl+[ : equivalent to the ESC key.  esc key: All supported terminal commands are displayed consecutively by 3 times.  tab key: command, FileAuto-complete function of the name. 


This article is from the "11876896" blog, please be sure to keep this source http://11886896.blog.51cto.com/11876896/1908661

Shell command-line shortcut keys

Related Article

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.