$-  –  Current Option Flags

$- expands to the current option flags.

Examples

Print option flags
1
echo "$-"
BashSuport Pro ist eine Bash und POSIX IDE mit Unterstützung für $_DASHprobieren Sie es aus!
© 2020–2026 Joachim Ansorg
Impressum
Datenschutz
Rechtliches