Bash ShellHow to run a command on bash script exitsBy RahulAugust 2, 2022Shell scripts are handy for automating tasks like backup databases, clearing log files, etc. You need to perform some tasks…
Bash ShellHow to Detect and Handle Errors in Your Bash ScriptsBy RahulJuly 30, 2022We can use the trap command to catch the error signal system by the system during script execution. Then you…