Created
April 3, 2014 12:35
-
-
Save engina/9953467 to your computer and use it in GitHub Desktop.
CGI Perl script to fork two commands and print the results.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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