Difference between revisions of "Set -x"

From wikieduonline
Jump to navigation Jump to search
(Redirected page to Set)
Tag: New redirect
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
#redirect [[set]]
+
{{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: