Several important key combinations of Linux

Source: Internet
Author: User
Tags clear screen

We are in the Windows system, there is no sense of fast key to make our work more efficient, in the Linux system still have a very useful shortcut keys, these shortcuts can assist us in writing instructions and program interruption, the following describes a few frequently used shortcut keys.

One,tab--space bar

The TAB key is one of the best features of the Linux bash Shell, with command completion and archive completion, but the TAB key can be different in different places to get results oh, the point is to avoid our wrong command and file name, Isn't it great! For example, the Use of tab is introduced.

1, in the terminal input PW, and then press the Tab key, will be the beginning of the command of PW display, so you can avoid the memory of the command and distress, this is the function of command completion

[Email protected]:~$ pwpwck      pwconv    pwd       pwdx      pwunconv

2, in the terminal input Ls-al ~/.bash and then two tab key, will be in this directory all the. bash files are displayed, this is the function of file completion

[email protected]:~$ ls-al ~/  . bash.bash_history.  bash_logout   . BASHRC        

It's a good practice to use the TAB key to avoid many typos.

Second, CTRL + C

When you enter a wrong command or parameter in Linux, sometimes this command will cause the program to run under the system, this time you want to do, this order can prevent the occurrence of this thing, such as you in the terminal input

[Email protected]:~$ Find/

At this point, your system will run a few things, and when you want to terminate, you can use this key combination.

Third, Ctrl+d

This key combination represents the end of the keyboard input or close the shell, you can actually try.

Iv. crtl+alt+t

Open a shell terminal.

Wu, Ctrl+l

Clear Screen

Liu, Ctrl+u

Clears the contents before the cut cursor.

Seven, Ctrl+k

Clears the cut cursor and the contents after the cursor

Eight, Ctrl+y

Paste clipped content at the cursor

Nine, Ctrl+r

Find History Command "Enter a keyword to bring up previously executed commands"

Ten, Ctrl+x+u

Undo Action

Several important key combinations of Linux

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.