nailyoudaoicibaDictYouDict[nail 词源字典]
nail: [OE] The Indo-European ancestor of nail was *nogh- or *onogh-. The latter was the source of Latin unguis (which evolved into French ongle and Italian unghia and has given English ungulate [19]) and Greek ónux (source of English onyx). Both these strands refer only to the sort of nails that grow on fingers and toes, but the Germanic branch of the family (which has come from *nogh- through a prehistoric Germanic *naglaz) has differentiated into a ‘fastening pin’ – originally of wood, latterly of metal.

Hence English nail and German nagel cover both meanings (although Dutch and Swedish nagel and Danish negl are used only for the anatomical ‘nail’).

=> onyx, ungulate[nail etymology, nail origin, 英语词源]
nail (n.)youdaoicibaDictYouDict
Old English negel "metal pin," nægl "fingernail (handnægl), toenail," from Proto-Germanic *naglaz (cognates: Old Norse nagl "fingernail," nagli "metal nail;" Old Saxon and Old High German nagel, Old Frisian neil, Middle Dutch naghel, Dutch nagel, German Nagel "fingernail, small metal spike"), from PIE root *(o)nogh "nail" (cognates: Greek onyx "claw, fingernail;" Latin unguis "nail, claw;" Old Church Slavonic noga "foot," noguti "nail, claw;" Lithuanian naga "hoof," nagutis "fingernail;" Old Irish ingen, Old Welsh eguin "nail, claw").

The "fingernail" sense seems to be the original one. Nail polish attested from 1891. To bite one's nails as a sign of anxiety is attested from 1570s. Nail-biting is from 1805. Hard as nails is from 1828. To hit the nail on the head "say or do just the right thing" is first recorded 1520s. Phrase on the nail "on the spot, exactly" is from 1590s, of obscure origin; OED says it is not even certain it belongs to this sense of nail.
nail (v.)youdaoicibaDictYouDict
Old English næglian "to fasten with nails," from Proto-Germanic *ganaglijan (cognates: Old Saxon neglian, Old Norse negla, Old High German negilen, German nageln, Gothic ganagljan "to nail"), from the root of nail (n.). Related: Nailed; nailing. Meaning "to catch, seize" is first recorded 1766, probably from earlier sense "to keep fixed in a certain position" (1610s). Meaning "to succeed in hitting" is from 1886. To nail down "to fix down with nails" is from 1660s.