Dear all,
I've to develop a software, which works on the data taken from Linux shell commands. For example: manipulation of the output of ifconfig command into C/C++ program. How this can be achieved?
I know that system() function can be used to execute linux commands. But don't know how to return the output to program.
Or, are there any others way of doing it?
Note: Only high level languages preferred. No scripting
Thank you