my $cmd="tar -zcf $filename $DEST 2>&1"; my $cmd_output=`$cmd`; print "Command $cmd produced the output:\n$cmd_output\n";