Skip to content

Glossary: Command Line for IT: Bash and PowerShell

&&

Also written: and operator

Joins two commands so that the second runs only if the first succeeds (exits with code 0). For example, nc -z order1 8080 && echo "3 port 8080 open".

Where the book teaches it

Related terms

||exit code