I’ve just learned how to select N random lines from a file on the command line:
shuf -n 10 file.txt
This is amazing. I’ve been using Linux for years and I had no idea this was so easy.
I’ve just learned how to select N random lines from a file on the command line:
shuf -n 10 file.txt
This is amazing. I’ve been using Linux for years and I had no idea this was so easy.