Bash Scripting - Error Handling
Identify the error in this script snippet:
#!/bin/bash set -e command1 command2 || true command3
#!/bin/bash set -e command1 command2 || true command3
command2 || true means even if command2 fails, the overall command succeeds.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions