Posts Tagged ‘bash’

How to know the return value of a command

Sunday, May 18th, 2008

Just do:

$ echo $?

and that’s it.