in reply to Finding a random line

Here's a link explaining the fastest way that I've found to do this here: Random Line from a file.