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.