I have a large OpenStreetMap
.pbf history file.
How do I know if this file has a specific attribute such as a name or version number?
Or, in general, the number of feature attributes in this file.
I guess osmium-tool is the best program for that. It is a powerful commandline tool for working with OpenStreetMap data. It should definitely work with OSM files of any size.
An alternative could be osmosis, however not sure if it is still maintained.
If your OSM file is not too big, you could also try to open it with QGIS.