hdfinfo is a program which gives information about HDF files. It takes one or two parameters. Either just a file name, or -v (for verbose) followed by a file name.