php run code from commnad line code example Example: php run command line shell_exec('ls'); // or exec('ls');