Solved

C Shell

Posted on 1998-11-18
8
296 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

763 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