Find all lines in the file /etc/hosts that do not match any character (using regular expression) and extract the second field (delimited by '/') from each line.
grep -vEi '.' /etc/hosts | cut -d '/' -f 2