Help for this page
my $output = `command`; print $logFile $output; ... my $logFile = "path/to/loge/file"; system("command >> $logFile");