Difference between revisions of "Set -x"

From wikieduonline
Jump to navigation Jump to search
(Changed redirect target from Set to Set (Bash))
Tag: Redirect target changed
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
#redirect [[set (Bash)]]
+
{{lc}}
 +
<code>[[set -x]]</code> print every command that is executed and every variable that is set to the [[standard output]]. Useful to [[debug]] scripts.
 +
 
 +
Examples:
 +
  set -x [[&&]] [[npm run migrate]]
 +
 
 +
== Related ==
 +
* [[Debug]]
 +
* <code>[[stdout]]</code>
 +
 
 +
== See also ==
 +
* {{stdout}}
 +
* {{set}}
 +
* {{Bash}}
 +
 
 +
[[Category:Bash]]

Latest revision as of 11:38, 15 February 2024

Advertising: