• + 0 comments
    #!/bin/bash
    rm file.txt > stdout.tx 2> stderr.txt
    while read LINES;
    do
    echo $LINES >> file.txt
    done
    tail -n20 < file.txt