[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to echo the return value of a program
From: |
ali hagigat |
Subject: |
How to echo the return value of a program |
Date: |
Sat, 22 Jan 2011 11:59:11 +0330 |
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.
- How to echo the return value of a program,
ali hagigat <=