Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In linux, when using the set command (to set behaviors of the shell, like existing on error), using set [...] option instead of set - option to disable the option
Answer

+

^^ e.g. set +h, to disable the caching of the locations of the binaries set in the PATH


Question
In linux, when using the set command (to set behaviors of the shell, like existing on error), using set [...] option instead of set - option to disable the option
Answer
?

Question
In linux, when using the set command (to set behaviors of the shell, like existing on error), using set [...] option instead of set - option to disable the option
Answer

+

^^ e.g. set +h, to disable the caching of the locations of the binaries set in the PATH

If you want to change selection, open document below and click on "Move attachment"

20. Advanced Shell Scripting
behavioral settings of the shell. Your current options can be displayed with echo $- . Various set commands are usually entered at the top of a script or given as command-line options to bash . <span>Using set + option instead of set - option disables the option. Here are a few examples: set -e Exit immediately if any simple command gives an error. set -h Cache the location of commands in your PATH . The shell will become confused if binaries a

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.