in reply to Testing out a CGI script using the command line

One more tip: you can also specify the parameters as command line arguments in standard querystring format. One thing to watch out for though is that on Unix/Linux, the shell will see the '&' separator as an instruction to run the script in the background. To avoid that, use single quotes:'

myscript.cgi 'param1=hello&param2=world'