I have a directory with about 2000 files. How can I select a random sample of N files through using either a bash script or a list of piped commands?

Edit
Report