![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cut -d' ' -f7,8 on the stdout of ls -al | yongho | Shell Programming and Scripting | 9 | 02-15-2007 08:28 AM |
| sum numbers from stdout | umen | Shell Programming and Scripting | 1 | 08-05-2006 04:26 AM |
| ksh - get stdout name as variable | mhcueball2 | Shell Programming and Scripting | 4 | 07-15-2005 07:45 AM |
| pipe and stdout | vascobrito | UNIX for Dummies Questions & Answers | 3 | 02-02-2004 04:20 AM |
| where does stdout link to? | jiangyanna | Filesystems, Disks and Memory | 7 | 06-18-2003 08:22 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
not able to capture STDOUT
I am using a third party API to get some real time feed. When I run the command it shows the results properly:
etd@mhs-apps5009 $ mamalistenc -m lbm -tport mamaqa -S MLALERTS -s KANA wFinancialStatus Type CTRL-C to exit. (null).MLALERTS.KANA Type: INITIAL Status OK wFinancialStatus | 266 | CHAR | SDB-Restriction=4 <pressed ctrl-c> etd@mhs-apps5009 $ But, when I try to redirect the output to a file nothing get captured. etd@mhs-apps5009-d $ mamalistenc -m lbm -tport mamaqa -S MLALERTS -s KANA wFinancialStatus >out.txt <pressed ctrl-c> etd@mhs-apps5009-d $ Any ideas?? thanks for any help. |
| Forum Sponsor | ||
|
|
|
|||
|
thanks vbe for pointing on tee.
well, its working to an extent, and only when I am invoking the command through a shell script like ./env_conf.sh |tee out.txt Still wondering whats wrong with the command: mamalistenc -m lbm -tport mamaqa -S MLALERTS -s KANA wFinancialStatus| tee out.txt |