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