Previous: , Up: Information and Settings   [Contents][Index]


4.13.2 Show information about the debugger (‘show’)

In contrast to info, show is for describing the state of BASH itself. You can change most of the things you can show, by using the related command set;

The distinction between info and show however is a bit fuzzy and is kept here to try to follow the GDB interface. For example, to list the arguments given to your script use show args; info args does something different.

Here are three miscellaneous show subcommands, all of which are exceptional in lacking corresponding set commands:

show version

Show what version of BASH is running. You should include this information in BASH bug-reports. If multiple versions of BASH are in use at your site, you may need to determine which version of BASH you are running; as BASH evolves, new commands are introduced, and old ones may wither away. Also, many system vendors ship variant versions of BASH, and there are variant versions of BASH in GNU/Linux distributions as well. The version number is the same as the one announced when you start BASH.

show copying

Display information about permission for copying BASH.

show linetrace

Show if line tracing is enabled. See also Line Tracing.

show logging

Show summary information of logging variables which can be set via set logging. See also Logging.

show logging file

Show the current logging file.

show logging overwrite

Show whether logging overwrites or appends to the log file.

show warranty

Display the GNU “NO WARRANTY” statement, or a warranty, if your version of the BASH debugger comes with one.


Previous: , Up: Information and Settings   [Contents][Index]