On Saturday 22 January 2011 09:29:11 ali hagigat wrote:
> I want to print the return value of an executable like:
> make -q -f makefile22
> The above command returns non-zero if the targets are not up to date.
> How can i see that value by shell commands. I am using /bin/bash,
> Fedora gnome-terminal.

simply use 

$?

to get it.

Chris

Reply via email to