Using bash, I need to be able to find a file in a specific position when listed alphabetically. For example, if I had the files a, b, c, d, e in a directory, and I wanted to find the third file, I would need it to return c. If I wanted the 5th file, it would return e.
Thanks for any help, sorry if this is phrased poorly, I'll rephrase it later if I can think of a way