title: How can I select random files from a directory in bash?
body: <p>I have a directory with about 2000 files. How can I select a random sample of <code>N</code> files through using either a bash script or a list of piped commands?</p>