Linux Command Encyclopedia system settings: Set

Source: Internet
Author: User
Keywords Linux System settings command Encyclopedia
Tags aliyun command encyclopedia different displays environment file function html

Function Description: Set up shell.

Grammar: set&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [+-ABCDEFHHKLMNPPTUVX]

Supplemental NOTE: The set instruction can set the execution mode of the shell used, and can be set according to different requirements.

Parameters:
-A indicates the modified variable for output to the environment variable.
-B causes the aborted daemon to immediately return the execution status.
The file produced by-C has failed to overwrite the existing file.
The-D shell preset uses instructions used in hash table memory to speed up instruction execution. Use the-D argument to cancel.
-e If the instruction returns a value that is not equal to 0, exit the shell immediately.
-F cancels the use of wildcard characters.
-H automatically records the location of the function.
-H Shell can use "!" Add < instruction number > to execute the instructions recorded in history.
The parameters given by the-K directive are treated as environment variables for this instruction.
-L records the name of the variable for the loop.
-M uses monitoring mode.
-N reads only the instruction without actually executing it.
-P starts the precedence mode.
-P starts the-p parameter, and when the instruction is executed, it replaces the symbolic connection with the actual file or directory.
-T to exit the shell after executing the subsequent instruction.
-U displays an error message when executing with a variable that is not defined.
-V Displays the input values that the shell reads.
When-X executes the instruction, it first displays the instruction and the parameters under it.
+< parameter > Cancels a set-initiated parameter.

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.