Skip to content

Instantly share code, notes, and snippets.

@engina
Created April 3, 2014 12:35
Show Gist options
  • Save engina/9953467 to your computer and use it in GitHub Desktop.
Save engina/9953467 to your computer and use it in GitHub Desktop.
CGI Perl script to fork two commands and print the results.
#!/usr/bin/perl
print "Content-type: text/plain\r\n\n";
system( "uname -a" );
system( "uptime" );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment