• + 0 comments

    I don´t need to read the STDIN into a variable, you can just omit the filename in the head command like this:

    head -n 20
    

    Or, more simpler:

    head -20