Bash get exit code of command on a Linux / Unix

Bash get exit code of command on a Linux / Unix

I am a new Linux system user. How do I get the exit code of a command? How do I get the exit code of Linux or Unix shell command and store it into a shell variable?

The post Bash get exit code of command on a Linux / Unix appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

Tags: , , , ,

Leave a Reply