Hi everyone,
I want to copy the output of a program with another program so I can write it to a file. I'm running Ubuntu Linux, and I'm trying to see what my system is like with hwinfo. The list is too long, though, so I need to put it into a file. Does anyone know how to do this? Or do any other Ubuntu fans know any way to do this just in code?
If you can find out how to do this, it'll really help me because I also want to do something like this in with libcURL. I can just use the C file, but I like C++ much better.
Thanks!