my $command = "scp $output user\@server:/tmp/LOGS"; print "Issuing this command: $command\n"; system("$command");