Previous: Info, Up: Information and Settings [Contents][Index]
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 versionShow 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 copyingDisplay information about permission for copying BASH.
show linetraceShow if line tracing is enabled. See also Line Tracing.
show loggingShow summary information of logging variables which can be set via
set logging. See also Logging.
show logging fileShow the current logging file.
show logging overwriteShow whether logging overwrites or appends to the log file.
show warrantyDisplay the GNU “NO WARRANTY” statement, or a warranty, if your version of the BASH debugger comes with one.
Previous: Info, Up: Information and Settings [Contents][Index]