how to create a php application that run on a command line code example Example: php run command line shell_exec('ls'); // or exec('ls');