Question About Pipes

Luke Davis ldavis at shellworld.net
Wed Nov 5 22:19:30 EST 2003


Script, as in transscript.  Remember I told you about subshells,
typescript, and all of that?  You do this:

script outputfile

It will take you back to a shell.  Then run your commands, and then leave
the shell.  The transcript of all of your actions, will appear in
outputfile.
 On Wed, 5 Nov 2003, Rejean Proulx wrote:

> I tried program > outputfile and the errors still came to the screen and did
> not go to the file.  I don't understand the second command.  What do you
> mean by a script?  Put the command in a script and then run it?  If I do
> that, I still need a pipe.
>
>  Rejean Proulx
> Visit my family at http://interfree.ca
> MSN is: rejp at rogers.com
> Ham License VA3REJ
>
> ----- Original Message -----
> From: "Luke Davis" <ldavis at shellworld.net>
> To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca>
> Sent: Wednesday, November 05, 2003 9:37 PM
> Subject: Re: Question About Pipes
>
>
> > Well, I would suggest you use script, as I suggested a few days ago, or a
> > construct such as the following, might work:
> >
> > program > outputfile
> >
> > or:
> >
> > program 2>&1 > outputfile.txt
> >
> >
> > On Wed, 5 Nov 2003, Rejean Proulx wrote:
> >
> > > I have a question about pipes.  I am running an apxs command which is
> some
> > > sort of compile for Apache with a bunch of parameters.  It is crapping
> out
> > > and I want to capture the errors in a file to get help on it to see what
> I
> > > am doing wrong.  How to I pipe the command to a file.  I think it is
> > > something with cat but I can't get it to work.
> > >
> > >  Rejean Proulx
> > > Visit my family at http://interfree.ca
> > > MSN is: rejp at rogers.com
> > > Ham License VA3REJ
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup at braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>




More information about the Speakup mailing list