Bash - Lists of Commands

Bash Liste Des Attaques Ovh

About

A list of command is a sequence of one or more pipelines

  • separated by one of the operators: ‘;’, ‘&’, ‘&&’, or ‘||’,
  • and optionally terminated by one of ‘;’, ‘&’, or a newline.
Control Operators Definition
; (Semicolon) or newline Delimit commands, start a command sequentially
& (Ampersand) Start a command asynchronously
&& (AND) The next command is executed only if the first command returns true
|| (OR) The next command is executed if the first command doesn't return true

Same as compound list ?

Operators Precedence

Of these list operators, ‘&&’ and ‘||’ have equal precedence, followed by ‘;’ and ‘&’, which have equal precedence.

Documentation / Reference





Discover More
Bash Liste Des Attaques Ovh
Bash - While

This article is dedicated to the while syntax in Bash. where: : is the no-op command; its exit status is always 0 The command: lists the file with the ls executable (ls -l) pipe the...



Share this page:
Follow us:
Task Runner