Skip to content

Glossary: Command Line for IT: Bash and PowerShell

||

Also written: or operator

Joins two commands so that the second runs only if the first fails. Alex's crontab uses check-disk.sh … || date >> disk-alerts.log.

Where the book teaches it

Related terms

&&exit code