Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Bash (Unix shell)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===== The <code>set</code> Built-in ===== * Xtrace: [ <code>set -x</code> | <code>set -o xtrace</code> ] The shell's primary means of debugging. Both xtrace and verbose can be turned off at the same time with the command <code>set -</code>. * Verbose: [ <code>set -v</code> | <code>set -o verbose</code> ] Prints a command to the terminal as Bash reads it. Bash reads constructs all at once, such as compound commands which include if-fi and case-esac blocks. If a <code>set -v</code> is included within a compound command, then "verbose" will be enabled the next time Bash reads code as input, i.e., after the end of the currently executing construct.<ref>{{Cite mailing list |mailing-list=bug-bash |date=20 April 2021 |title=bug-bash archives, Re: Document that set -v inside case statements is special |url=https://lists.gnu.org/archive/html/bug-bash/2021-04/msg00172.html }}</ref> Both xtrace and verbose can be turned off at the same time with the command <code>set -</code>.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)