Redirecting stderr to a file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Redirecting stderr to a file

Downey, Shawn
When working from the command line I can redirect the stdout to a file
with the command .output.  Is there a similar way to redirect stderr to
a file?  Thanks you.

 

Shawn M. Downey

MPR Associates

10 Maxwell Drive, Suite 204

Clifton Park, NY 12065

518-371-3983 x3 (work)

860-508-5015 (cell)

 

Reply | Threaded
Open this post in threaded view
|

Re: Redirecting stderr to a file

Jay Sprenkle
 cat yourfile 2>somenewfile.txt


On 10/3/05, Downey, Shawn <[hidden email]> wrote:

>
> When working from the command line I can redirect the stdout to a file
> with the command .output. Is there a similar way to redirect stderr to
> a file? Thanks you.
>
>
>
> Shawn M. Downey
>
> MPR Associates
>
> 10 Maxwell Drive, Suite 204
>
> Clifton Park, NY 12065
>
> 518-371-3983 x3 (work)
>
> 860-508-5015 (cell)
>
>
>
>
>


--
---
The Castles of Dereth Calendar: a tour of the art and architecture of
Asheron's Call
http://www.lulu.com/content/77264