Difference between revisions of "&&"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<code>&&</code> executes the command which follow only if the command which precedes it succeeds. <code>||</code> does the opposite. == See also == * {{Bash}}")
 
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<code>&&</code> executes the command which follow only if the command which precedes it succeeds. <code>||</code> does the opposite.
 
<code>&&</code> executes the command which follow only if the command which precedes it succeeds. <code>||</code> does the opposite.
  
 +
 +
* <code>[[brew update]] && [[brew upgrade]]</code>
 +
* <code>[[set -x]] && [[npm run migrate]]</code>
 +
 +
== Related commands ==
 +
* [[PowerShell]]: <code> (command 1) [[-and]] (command 2)</code>
 +
* <code>[[read]]</code> command
 +
* <code>[[if]]</code>
 +
* <code>||</code>
 +
* [[Terraform operators]]
  
 
== See also ==
 
== See also ==
 
* {{Bash}}
 
* {{Bash}}
 +
 +
 +
[[Category:Computing]]

Latest revision as of 13:59, 19 January 2024

Advertising: