![]() |
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 |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redirecting <talk> output to a file | cej | Shell Programming and Scripting | 4 | 01-21-2008 03:26 PM |
| redirecting a file | wip_vasikaran | Shell Programming and Scripting | 3 | 07-12-2007 04:14 AM |
| Redirecting my output to a specific file | Lutchumaya | Shell Programming and Scripting | 2 | 01-25-2007 06:46 AM |
| redirecting serial inputs to a file? | guilartec | Shell Programming and Scripting | 4 | 02-27-2006 11:30 PM |
| Redirecting output file to a different server. | Stormrider | UNIX for Dummies Questions & Answers | 3 | 09-25-2002 09:59 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Redirecting to Error File
Hi-
I want to redirect the output of the echo to the standard error file. We require this because, when we try to scp a file from a source server to a target server we get an error code 1. Later we found that it was due to the .cshrc file which outputs on stdout which is making the scp to fail. I know that if we could comment out the echo statements it wouldn't fail. But i thought if we could do something like, redirecting the stdout to stderr then it shouldn't be a problem. So is there a way of doing this 'redirecting the stdout to stderr' by default and if we could please let me know. -Lorcan |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|