// Module included in the following assemblies:
//
// changing-hostname.adoc

[id='displaying-current-hostname']

== Displaying your current hostname

For Fedora Workstation, using the default GNOME desktop,  open the Settings application and choose About.

image::displaying-current-hostname-1.png[GNOME Settings - About]

To see the hostname from the command line, use the command `hostnamectl` with no options. The output below shows the static and pretty hostnames:

....
   Static hostname: localhost.localdomain 
Transient hostname: fedora
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: 15fc9e69d007013025f31bc5272c4ed1
           Boot ID: 41ac938872bae052294bcb277241ac93
  Operating System: Fedora 33 (Workstation Edition)
       CPE OS Name: cpe:/o:fedoraproject:fedora:33
            Kernel: Linux 5.10.10-200.fc33.x86_64
      Architecture: x86-64
....

To see the current transient hostname, you can use the command `hostnamectl --transient`. In many cases this will simply be the static name, unless a naming collision with another host has forced a change.
