How do I display the options currently set by my bash shell?
-
Man page for bash - GNU Bourne-Again SHell
There are some options for bash that are set in your interactive shell and other options you set for your configuration.
To show the options set for your bash shell run the following. -h -i -m -B -H, and -s are the options currently set.
$ echo $- himBHs
The more readable way is: Each option is has a short argument, for example monitor is the same as
-m
$ set -o
© Lightnetics 2024