Difference between revisions of "Set -x"

From wikieduonline
Jump to navigation Jump to search
(Removed redirect to Set (Bash))
Tag: Removed redirect
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{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.
  
set -x && [[npm run migrate]]
+
Examples:
 +
  set -x [[&&]] [[npm run migrate]]
  
 +
== Related ==
 +
* [[Debug]]
 +
* <code>[[stdout]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{stdout}}
 
* {{set}}
 
* {{set}}
 
* {{Bash}}
 
* {{Bash}}
 +
 +
[[Category:Bash]]

Latest revision as of 11:38, 15 February 2024

Advertising: