checking for erros


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers checking for erros
# 1  
Old 10-26-2005
checking for erros

I have he following command and I will like o test for errors. Due that the command has several command how do I know what one fail.

zcat $user | (cd /data/oracle00/faasat1/;tar -xvf -)
# 2  
Old 10-27-2005
Its a story of catching the exit errors for the commands in the pipeline.

Look at this - Pipelining

Check this out as well - Wizard Level I/O

vino
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. SCO

Stop boot system at "Checking protected password and checking subsystem databases"

Hi, (i'm sorry for my english) I'm a problem on boot sco unix 5.0.5 open server. this stop at "Checking protected password and checking subsystem databases" (See this image ) I'm try this: 1) http://www.digipedia.pl/usenet/thread/50/37093/#post37094 2) SCO: SCO Unix - Server hangs... (9 Replies)
Discussion started by: buji
9 Replies

2. Solaris

zpool status -v erros message

# zpool status -v pool: pool1 state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see:... (0 Replies)
Discussion started by: beginner
0 Replies

3. UNIX for Dummies Questions & Answers

ifndef erros in makefile

I know if-condition clause is available in makefile. But when I try to use it inside a macro definition, bugs come out! Any replies would be apreciated ! code: define child echo "child has one parameter: $1" ifndef $2 echo "but child can also see parent's second parameter: $2!" else... (2 Replies)
Discussion started by: firetree
2 Replies

4. UNIX and Linux Applications

ifndef erros in makefile

I know if-condition clause is available in makefile. But when I try to use it inside a macro definition, bugs come out! Any replies would be apreciated ! code: define child echo "child has one parameter: $1" ifndef $2 echo "but child can also see parent's second parameter: $2!" else... (1 Reply)
Discussion started by: firetree
1 Replies

5. OS X (Apple)

ifndef erros in makefile

I know if-condition clause is available in makefile. But when I try to use it inside a macro definition, bugs come out! Any replies would be apreciated ! code: define child echo "child has one parameter: $1" ifndef $2 echo "but child can also see parent's second parameter: $2!"... (0 Replies)
Discussion started by: firetree
0 Replies

6. Programming

EOF checking the below

Hi, I am practicing exercise programs with System calls. Exercise Question: write a pogram to accept a filename from the user. The program should write ecery fifth byte of the file to the standard output. My Program : # include <stdio.h> # include <fcntl.h> # include <error.h> ... (10 Replies)
Discussion started by: ramkrix
10 Replies

7. UNIX for Dummies Questions & Answers

checking for non-zero value

I have a process that spits out a file called sqlplus.out, here is what the result looks like: Currently the value you see is zero, what I need to do is perform an action if that value is non-zero, so how do I check that value in an if statement? If it helps at this moment in development the... (6 Replies)
Discussion started by: philplasma
6 Replies

8. UNIX for Dummies Questions & Answers

Checking cp progress

Hi gurus. I wonder if there is some command that will help me to determing the progress of cp. I'm copying huge amount of files, and through the ps x -uoracle see, that it goes 1771 pts/6 S+ 0:37 cp 1_2600_617913793.arc 37 minutes. Is there command, that helps determing on what... (0 Replies)
Discussion started by: MarGur
0 Replies

9. Shell Programming and Scripting

Periodical checking

I want to check periodically, every "period" seconds given by the user ,if a user logged in or logged out of the system.If he did print a message with his name and his time of logging in or out.for tcsh Thank you for your time. (3 Replies)
Discussion started by: aekaramg20
3 Replies
Login or Register to Ask a Question