The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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
script not giving the desired output Renjesh Shell Programming and Scripting 2 06-15-2008 03:58 AM
Help me in getting the desired output akash Shell Programming and Scripting 2 12-02-2007 11:27 AM
who truncates the output? redirection? tty? Bug? fredy UNIX for Advanced & Expert Users 7 12-10-2006 02:21 AM
Redirection of output (for logging) _Spare_Ribs_ Shell Programming and Scripting 3 12-04-2006 02:17 PM
redirection of ladebug output yakari UNIX for Advanced & Expert Users 2 10-06-2006 02:23 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-29-2008
raji raji is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 2
how to get desired output after redirection

hi
i am running script which contains the commmnds and i am redirecting the script output to a file.
like
./script 1> result.txt 2>&1

the above redirection is not working for commands when run in background in a script.
but the problem here result.txt containg output which is repeated.
please give me a solution so that result.txt should contain the output according to the commands without repetation.

please give me solution for redirection to get desired output.

thanks
  #2 (permalink)  
Old 08-29-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
You sound like the same person as this one?

Redirection problem

Are you really posting under multiple user names?
  #3 (permalink)  
Old 08-29-2008
raji raji is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 2
Can any body help me to get the solution to the redirection problem?
  #4 (permalink)  
Old 08-29-2008
palsevlohit_123 palsevlohit_123 is offline
Registered User
  
 

Join Date: Aug 2008
Location: India-Chennai
Posts: 120
can you explain your problem with some examples. wat you executed and wat the o/p you got and how you need it to be.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0