diff options
Diffstat (limited to '')
-rwxr-xr-x | sample-cgi-handler.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sample-cgi-handler.sh b/sample-cgi-handler.sh index 55da4a0..afd4ada 100755 --- a/sample-cgi-handler.sh +++ b/sample-cgi-handler.sh @@ -1,10 +1,5 @@ #!/bin/bash -echo "Content-type: text/html" +echo "Content-type: text/plain" echo "" -echo '<html><body>' -echo 'Hello From Bash <br/>Environment:' -echo '<pre>' -/usr/bin/env -echo '</pre>' -echo '</body></html>' +echo "This is a random value from bash: $RANDOM on $(date)" exit 0 |