Linux Learning-The first lesson: part of the command for a terminal

Source: Internet
Author: User
Tags clear screen

1. Reset-Reset command

[Email protected] ~]$ Cat/bin/arch

The result is:

The garbled characters of Fullscreen

Use the reset command

[[Email protected] ~]$ Reset

The result is:

Reset by Clear screen.

2.CTRL + C non-routine interrupt--terminate foreground process

is to help users stop the work they're doing.

3.CTRL + D input complete normal signal

The WC command counts the lines, words, and characters entered by the user from the keyboard without giving the file name as a parameter, and the user uses Ct rl+d to indicate the end input

The results are as follows: the user entered 3 lines, a total of 3 words, the characters

4.CTRL + Z suspend foreground process

Pending programs can be recovered with the FG command

connecting www.baidu.com with ft p

after you suspend with Ctrl + Z , run the command pwd, and then use FG to resume the hang, you can see the FG after the FTP command has been executed

5.Ctrl + U Delete current line

For example: When entering the login password, you can use CtrL + U to ensure re-entry

6.Ctrl + H Step back-delete one character

Same as the Ba ckspace function

7.CTRL + L page break-make bash clear the screen so that programs based on other screens "refresh" the current screen

8.Ctrl + S lock screen

9.Ctrl + Q unlock screen

10.Ctrl + J line break- same as Enter key

11.CTRL + G let terminal ring Ring

12.Tab Fill command or file name

Linux Learning-The first lesson: part of the command for a terminal

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.