2 ms·
Personally, I'd use another tool to remove the header before sending it to shuf. As an example: cat myfile | tail -n +2 | shuf -n 50
by fwip 8y ago
Personally, I'd use another tool to remove the header before sending it to shuf. As an example:
cat myfile | tail -n +2 | shuf -n 50