bash: Display the current options for shell or by set built-in.
-
Take into account the main readme for this section. README first.
$ echo $- himBHs
If we set an option using the set built-in and then run the command again, notice the
x
has been added to the shell options.$ set -x $ echo $- + echo himxBHs
Run the following after to get out of debug mode.
$ set +x
© Lightnetics 2024