Bash Scripting - Error Handling
You have this script:
#!/bin/bash set -e echo "Start" ls /nonexistent_directory echo "End"The script exits immediately after the
ls command. How can you fix it to continue even if ls fails?