LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Standard inside a shell program (https://www.linuxquestions.org/questions/linux-software-2/standard-inside-a-shell-program-93919/)

sammathew 09-17-2003 04:14 PM

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

rahulsundaram 09-17-2003 08:32 PM

hi

standard input > standard output

everything gets redirected

regards
rahul sundaram


All times are GMT -5. The time now is 06:41 AM.