How to pipe the output of a command to file on Linux

Posted by morpheous on Stack Overflow See other posts from Stack Overflow or by morpheous
Published on 2010-05-15T13:03:00Z Indexed on 2010/05/15 13:14 UTC
Read the original article Hit count: 175

Filed under:

I am running a task on the CLI, which prompts me for a yes/no.

After selecting a choice, a vast amount of info scrolls on the screen - including several errors. I want to pipe the output to a file so I can see the errors - but a simple '>' is not working since the command expects a keyboar input.

i am running on Ubuntu 9.1

© Stack Overflow or respective owner

Related posts about ubuntu