Like tail, but select a random set of N lines