title: Running shell commands using PHP script
body: <p>I'm creating an app using CodeIgniter, but I'm unable to run Linux commands using my PHP script.</p>
  
  <p>How do I run terminal commands?</p>
  
  <p>I've tried <code>shell_exec()</code> and <code>exec()</code>, but both don't work while using CI.</p>