Bash Scripting - Error Handling
What is the main purpose of using
trap in a bash script?trap in a bash script?trap command is designed to catch signals or script exit events and run commands in response.trap. Only To run specific commands when the script exits or receives signals correctly describes its purpose.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions