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