How to know the return value of a command

Just do:

$ echo $?

and that’s it.

Tags: , , ,

Comments are closed.