Linux Command Release method

Source: Internet
Author: User

[Account ~]$ command [-options] Parameter1 parameter2 ... directive option parameter (1) parameter (2)

Description: 0. The first input part of a line of instructions is definitely "command" or "executable"

1. Command for the name of the instruction, such as the change path of the instructions for CD and so on;

2. The scratch number [] does not exist in the actual instruction, and when the option is set, usually the option is preceded by a-number, such as-H; sometimes the full full name of the option is used, then the option is preceded by a-symbol, such as--help;

3. Parameter1 Parameter2. A parameter that is attached to the following option, or a command;

4. Instructions, options, parameters, etc. these are separated by a space, no matter how empty the shell is considered a lattice

5. When the [Enter] key is pressed, the command executes immediately. The [Enter] key represents the start of a line of instructions. 6. When the instruction is too long, you can use the backslash (\) to jump off the [Enter] symbol, making the instruction continuous to the next line. Attention! The backslash is immediately followed by a special character to jump off!

Other: A. In a Linux system, the letters in English are not the same. In bowl case, CD shipowner not CD.

Ls-al ~ Show all file properties associated with hidden files in the root directory

Date +%y/%m/%d current system date YYYY/MM/DD

Date +%y%m%d current system date YYYY-MM-DD

Cal [Month] [year]

Cal [Year]

Important several hotkeys [Tab], [Ctrl]-c, [ctrl]-d

[Tab] Write key He has "command complete" does not "file fill" function Oh!

Ca[tab][tab] <==[tab] Write key is immediately after the letter A! (Command Completion)

Ls-al ~/.bash[tab][tab] (file-padded)

[Ctrl]-c button

If you accidentally lose the wrong command, press CTRL + C to stop the command: You can enter find/on the command line, and look at the effect by pressing CTR+C.

[Ctrl]-d button

Keyboard input end, can replace the function of exit

Man Date

The number explained after date

Man-f man left matching exact search

Linux Command Release method

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.