1
echo $-
himBH

By default, the active flags in the set-builtin are: himBH
Executing help set doesn't show an explanation for the i-flag.

What is behind the i-flag, the i-option respectively?

Kaz Wolfe
  • 33,802
  • 20
  • 111
  • 168
Neni
  • 817
  • 6
  • 17
  • Also see: http://askubuntu.com/a/660854/158442 – muru Aug 24 '16 at 02:41
  • Checked, you can update your answer there, the active set-builtin-options are in $SHELLOPTS and the active shopt-builtin-options are in $BASHOPTS. – Neni Aug 25 '16 at 12:01

1 Answers1

1

From man bash:

-i        If the -i option is present, the shell is interactive.
edwinksl
  • 23,569
  • 16
  • 74
  • 100