LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2003, 04:14 PM   #1
sammathew
LQ Newbie
 
Registered: Jul 2003
Location: USA
Distribution: cpubuilders - Red Hat
Posts: 7

Rep: Reputation: 0
Standard inside a shell program


I want to redirect my standard error output (2>) from a shell script and all the scripts that it calls to a file.
If I put 2>file1 does it only redirects that error of that command line only or does it take from there on wards through out the script. Some insights will be appreciated.
Thanks
Bye
Sam
 
Old 09-17-2003, 08:32 PM   #2
rahulsundaram
Member
 
Registered: May 2003
Location: India
Distribution: Knoppix, RedHat
Posts: 246

Rep: Reputation: 30
hi

standard input > standard output

everything gets redirected

regards
rahul sundaram
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
execute shell command inside of c code? khucinx Programming 6 10-26-2010 09:30 PM
execution of one program inside of another microsoft/linux Programming 2 03-18-2005 10:24 AM
execute shell command inside of tcl file khucinx Programming 1 07-05-2004 01:29 PM
run shell command inside of c code? khucinx Programming 2 05-17-2004 10:04 AM
changing the user inside a shell script sanjith11 Programming 2 04-22-2004 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration