[CentOS] Getting the return value of the last command run
Dotan Cohen
dotancohen at gmail.comMon May 30 15:00:11 UTC 2011
- Previous message: [CentOS] Getting the return value of the last command run
- Next message: [CentOS] Getting the return value of the last command run
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, May 30, 2011 at 17:55, Bob Beers <bob.beers at gmail.com> wrote: > You can check the return code. > > $ ls > $ echo $? > > 0 (usually) indicates success. > Thank you Bob, that is exactly what I was looking for! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com
- Previous message: [CentOS] Getting the return value of the last command run
- Next message: [CentOS] Getting the return value of the last command run
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list