Check different exit code from linux.