linux, как получить fqdn

hostname --fqdn
Jimmy McGill