I think that what you are looking for is the php command exec() http://php.net/manual/en/function.exec.php
On Sep 20, 11:10 am, Urs <[email protected]> wrote: > Hi.. > > How can we execute linux commands from the controller? > > like: > Example1: cat file1.txt > Example2: ifconfig | grep eth | awk {'print $1'} > > Plz help.. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
