Skip to main content
spelling, add link to man page, formatting
Source Link
Matthias Braun
  • 8.8k
  • 8
  • 51
  • 63

How can I list bash'esBash's options for the current shell?

The bash intepreterBash interpreter itself has options, i.e.

LinesFor example, those mentioned on lines 22-23 of bash's man pageBash's man page:

OPTIONS  

OPTIONS
All of the single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked. In addition, bash interprets the following options when it is invoked:
-c ...
-i ...
-l ...
-r ...

All of the  single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked.   In addition, bash interprets the following options when it is invoked:  
-c ...  
-i ...  
-l ...  
-r ...  

I've used a few search patterns in bashBash's man page like:

  • /^\s*set
  • /list

Is it possible to print a list of these settings that are applied to the current shell?

How can I list bash'es options for the current shell?

The bash intepreter itself has options, i.e.

Lines 22-23 of bash's man page:

OPTIONS  
All of the  single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked.   In addition, bash interprets the following options when it is invoked:  
-c ...  
-i ...  
-l ...  
-r ...  

I've used a few search patterns in bash man page like:

  • /^\s*set
  • /list

Is it possible to print a list of these settings that are applied to the current shell?

How can I list Bash's options for the current shell?

The Bash interpreter itself has options.

For example, those mentioned on lines 22-23 of Bash's man page:

OPTIONS
All of the single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked. In addition, bash interprets the following options when it is invoked:
-c ...
-i ...
-l ...
-r ...

I've used a few search patterns in Bash's man page like:

  • /^\s*set
  • /list

Is it possible to print a list of these settings that are applied to the current shell?

Shell Options dictate how the shell application behaves and responds to the user commands.
Source Link
Vlastimil Burián
  • 31.1k
  • 66
  • 208
  • 356

How can I list bash'sbash'es options for the current shell?

The bash intepreter itself has options, i.e.
lines 22-23 of bash's man page:

Lines 22-23 of bash's man page:

OPTIONS
All of the single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked. In addition, bash interprets the following options when it is invoked:
-c ...
-i ...
-l ...
-r ...

OPTIONS  

Is it possible to print a list of these settings that are applied to the current shell?

All of the  single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked.   In addition, bash interprets the following options when it is invoked:  
-c ...  
-i ...  
-l ...  
-r ...  

IveI've used a few search patterns in bash man page like:

  • /^\s*set
  • /list

But no luckIs it possible to print a list of these settings that are applied to the current shell?

How can I list bash's options for the current shell?

The bash intepreter itself has options, i.e.
lines 22-23 of bash's man page:

OPTIONS
All of the single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked. In addition, bash interprets the following options when it is invoked:
-c ...
-i ...
-l ...
-r ...

Is it possible to print a list of these settings that are applied to the current shell?

Ive used a few search patterns in bash man page like

  • /^\s*set
  • /list

But no luck

How can I list bash'es options for the current shell?

The bash intepreter itself has options, i.e.

Lines 22-23 of bash's man page:

OPTIONS  
All of the  single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked.   In addition, bash interprets the following options when it is invoked:  
-c ...  
-i ...  
-l ...  
-r ...  

I've used a few search patterns in bash man page like:

  • /^\s*set
  • /list

Is it possible to print a list of these settings that are applied to the current shell?

Shell Options dictate how the shell application behaves and responds to the user commands.
Link
Source Link
the_velour_fog
  • 12.8k
  • 17
  • 73
  • 115
Loading