Reputation: 355
I need to list files from a specific file name until another specific file name. For example I have file1.txt, file2.txt, file3.txt, file4.txt, file5.txt if I wanted to start at file2.txt and end at file5.txt it should list the file names (not the content) file2.txt, file3.txt, file4.txt and file5.txt. Is there a way to do this using head and tail and if not what is a good way to do this?
Upvotes: 0
Views: 91