What is an exit code in Bash scripting? How can you check the exit code of the last executed command?
It looks like you're new here. If you want to get involved, click one of these buttons!