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.
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.