How run bash comman and read output

Newbie Member
17Jan2009,15:50   #1
Martingt89's Avatar
Hi. I need run command and read output to string or external file.
Run command - system or exec
but as a read terminal?
I have Linux
Go4Expert Founder
17Jan2009,16:22   #2
shabbir's Avatar
Moved to Linux forum