BASH CUT DELIMITER Field Last

echo 'maps.google.com' | rev | cut -d'.' -f 1 | rev
Distinct Dormouse