Find and count distinct domains in a file with grep

Regular expressions come handy when trying to filter some output from a file with grep or similar Linux command.
_ Aljaž Vidmar

Regular expressions come handy when trying to filter some output from a file with grep or similar Linux command.