Find exit status code of last executed command on Linux and Unix
When we execute any command or script,it returns an exit status. The exit status is also called as return code or exit code. It is important to know the exit status of command which we execute. The method which we are going to describe become more helpful with script also. Exit status must be an…
