my $output = `$command echo $writeline 2>&1 >> $file`;