Epigraphy

study of old inscriptions or epigraphs as writing

Epigraphy is the study of writings, inscriptions (epigraphs) on things like rocks, clay, stone, paper, etc. It is used to study writing; often for learning about languages of the past.