Shell

How to extract everything after the last dot in a string?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

${var//*.}