![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| background output | smtpgeek | UNIX for Advanced & Expert Users | 3 | 08-08-2006 04:03 PM |
| background process | zylwyz | UNIX for Dummies Questions & Answers | 5 | 07-12-2005 03:17 PM |
| background job | babayeve | UNIX for Dummies Questions & Answers | 3 | 05-25-2005 10:08 AM |
| Background job | rdbooth | UNIX for Dummies Questions & Answers | 1 | 03-23-2004 07:59 AM |
| background job | joerg | UNIX for Dummies Questions & Answers | 3 | 09-05-2003 03:33 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I have an issue i'm trying to resolve. It's a ksh script.
When i use this " & " after the telnet command i get output to my screen. I see what is going on, but i don't get anything sent to the dump2 file. If i don't use it i get info sent to dump2 file and grep finds the data. Is there a way it can work both ways. How would it look? ) | telnet > /usr/autoprog/prod/rob/dump2 sleep 3 grep -h c12k-fpd-pkg.120-32.S3.pkg < /usr/autoprog/prod/rob/dump2 rcode=$? echo "$rcode" Thanks. ![]() |
|
||||
|
Not shure, but try using "tee" ie
telnet | tee -a /usr/autoprog/prod/rob/dump2 "tee" will dump into a file and display on the screen. |
| Sponsored Links | ||
|
|