in reply to Shell to Perl conversion

Add an CGI (HTTP) header, don't redirect the output, remove the counter-productive sleep and remove the useless exit.

#!/usr/local/bin/tcsh echo 'Content-Type: text/plain' echo # User on the host machine set USER="shke42" #bastion host (Julius) set host="seres" # target machine to be pinged set target="10.207.41.205" #ping file path on the host machine set pingpath="/usr/sbin" # remote loging to host and ping the target machine ssh $USER@$host ${pingpath}/ping $target