fork download
  1. <?php
  2.  
  3. // your code goes here
  4.  
  5. //echo exec('pwd');
  6. //echo exec('ls');
  7. echo shell_exec('ifconfig -a');
Success #stdin #stdout #stderr 0.02s 24000KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
sh: 1: ifconfig: not found