Help for this page

Select Code to Download


  1. or download this
    $ perl -wMstrict -le 'print system("exit 3");print "<$!>"'
    Can't exec "exit": No such file or directory at -e line 1.
    -1
    <No such file or directory>
    
  2. or download this
    $ which exit
    $ perl -wMstrict -le 'print system(q{/bin/bash -c "exit 3"});
    ...
    768
    <>
    3
    
  3. or download this
    $ perl -wMstrict -le 'system("pstree -A $$ ")==0 or die;'
    perl---pstree
    $ perl -wMstrict -le 'system("pstree -A $$;")==0 or die;'
    perl---sh---pstree