Teacherly is a hypernym of headmasterly.
As adjectives the difference between teacherly and headmasterly
is that teacherly
is of or relating to teachers while headmasterly
is in a manner befitting a headmaster.
As a noun headmaster
is (chiefly|uk) a male school principal.
As an adjective headmasterly is
in a manner befitting a headmaster.