Detect host name by the "hostname" command.