1.
to dig in one's nails; to scratch with nails; to claw
To press or scrape the fingernails into a surface or into someone's skin. Used both literally for the physical action and figuratively to describe desperate clinging or grasping.