./program > test6.result & pid=$! sleep 1 kill -9 $pid