A contact sheet is a image containing the name and a the small version of a group of images, like this :
Which is the best program to do it from the command line?
(Preferably something that is already package with Ubuntu.)
The options are exhastive so i thoroughly recommend running
It makes both a webpage and a contact image.
For interactive use,
For completeness I should mention that