• [deleted]
    + 0 comments

    cat command is used to create a file using '>' ,then we use the head command followed with -n(stating it requires lines) then number of lines and lastly the file name to run the command on... cat > file1 head -n 20 file1