Linux Common hotkeys (tab,ctrl+c,ctrl+z,ctrl+d)

Source: Internet
Author: User

Tab

[Tab] The main functions are 2:

command to be padded

① at the command line, just enter for example M, and then press TAB two times, the system will list all the commands starting with M, including the custom Bshell command function, which is unique to finding some unclear commands. For example, enter FTP, you will find the Ftp,ftpcount,ftpwho,ftpshut and other unfamiliar commands.

such as: input scree and then press Tab key, scree no phase weight command, then automatically fill command screenfetch.

Another example: After you enter SCR and then press TAB to not automatically fill, because the phase of the command, then press two times tab , will list the command beginning with SCR.

Table of contents (file)

② just enter the first few characters of the file or directory name, and then press TAB key, such as no phase weight, the full file name automatically appears on the command line immediately, if there is a phase weight, and then press the TAB key, the system will list all the names in the current directory starting with these characters.

[Ctrl + C]

CTRL + C is a shortcut key for replication in Windows, but under Linux,[Ctrl + C] is used to terminate a running program .

If you enter find to locate a file, but there are too many files listed and you want to terminate the lookup, you can stop the Finder with the Ctrl + C command.

[Ctrl + Z]

Suppose you find that a program running in the foreground takes a long time, but you need to do something else and you can hang up the program with [Ctrl + Z] .

If you want the program to continue, you can keep the program running by command BG.

[Ctrl+d]

Keyboard input End (End of File, EOF, or end of input), which can also be used to replace the input of exit.

For example, to exit the terminal , you can simply press [ctrl+d] to go straight away.

It can also be used to exit the root user and return to the normal user, such as:

Linux Common hotkeys (tab,ctrl+c,ctrl+z,ctrl+d)

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.