[plug] Catch output of XFree86 -scanpci -verbose
Cameron Patrick
cameron at patrick.wattle.id.au
Wed Dec 24 12:58:46 WST 2003
On Wed, Dec 24, 2003 at 12:44:19PM +0800, Chris Caston wrote:
| I'm having trouble catching the output of a command. I'm trying:
| XFree86 -scanpci -verbose > output.txt
1) It works running it from inside X and xterm, and/or from inside
screen; either should allow you to save the output from the scrollback
buffer.
2) If it isn't writing to stdout, it's probably writing to stderr. Read
the bash man page; in particular, the REDIRECTION section gives examples
of how to do this. (This section also has info on the /dev/tcp/ stuff
which Nick mentioned in another thread, although it doesn't seem to work
in my bash.)
Cameron.
More information about the plug
mailing list