bash cut delimiter last field code example Example: bash cut delimiter last field echo 'maps.google.com' | rev | cut -d'.' -f 1 | rev