Как отсортировать файлы в папке с помощью bash?

У меня в папке есть эти файлы:

chap11-solutions.pdf
chap12-solutions.pdf
chap13-solutions.pdf
chap14-solutions.pdf
chap15-solutions.pdf
chap16-solutions.pdf
chap17-solutions.pdf
chap21-solutions.pdf
chap22-solutions.pdf
chap23-solutions.pdf
chap24-solutions.pdf
chap25-solutions.pdf
chap26-solutions.pdf
chap2-solutions.pdf
chap3-solutions.pdf
chap4-solutions.pdf
chap5-solutions.pdf
chap6-solutions.pdf
chap7-solutions.pdf
chap8-solutions.pdf
chap9-solutions.pdf

как мне их отсортировать: chap1 ..., chap ... 2, ...., chap11 ... , chap12, ... используя оболочку Ubuntu bash? Спасибо.

5
задан Arnaud Le Blanc 23 January 2011 в 13:10
поделиться