Hw To Execute Linux Commands Or Shell Scripts From Core Php

I am fairly new in yii. I want to execute some linux commands when asked on a PHP page. I am clueless about how to proceed in this matter. I want to do scripting in PHP through which I must run Linux Commands and then parse the result I got and display it in a web browser. Please help me out and guide me how to proceed in this matter.

Thank you

:mellow:

Hi,

look at php exec.