Solved

C Shell

Posted on 1998-11-18
8
290 Views
Last Modified: 2010-04-21
how do i check for an app's return state in C-shell.
is there a normal, succesful termination abnormal exit?
0
Comment
Question by:pipe
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 2007936
app ; echo "exit status=$status"
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2007937
app &
0
 
LVL 2

Expert Comment

by:kellyjj
ID: 2007938
I think the ' ? '  might work too
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 2007939
did you thing sh-ish, kellyjj ?
0
 
LVL 84

Expert Comment

by:ozo
ID: 2007940
app &&
app ||
0
 

Author Comment

by:pipe
ID: 2007941
thanx,  

  1st two work well = )
0
 
LVL 4

Accepted Solution

by:
jlms earned 0 total points
ID: 2007942
Then remove the question!!!!! Or award the points...
0
 

Author Comment

by:pipe
ID: 2007943
you win
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question