randomly choose n rows from a file linux code example Example: randomly choose n rows from a file linux shuf -n 1000 file