mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
minor copy update
This commit is contained in:
parent
cc661a78b6
commit
75906b827f
1 changed files with 8 additions and 2 deletions
|
@ -10,7 +10,7 @@ For Fedora Workstation, using the default GNOME desktop, open the Settings appl
|
|||
|
||||
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:
|
||||
To see the hostname from the command line, use the command `hostnamectl` with no options. The example output below shows the static and transient hostnames. Your output may be slightly different depending on which hostname types have been set.
|
||||
|
||||
....
|
||||
Static hostname: localhost.localdomain
|
||||
|
@ -25,4 +25,10 @@ Transient hostname: fedora
|
|||
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.
|
||||
To see the current static, transient or pretty hostname, you can use the `hostnamectl` command with options, such as:
|
||||
|
||||
```
|
||||
hostnamectl --static
|
||||
hostnamectl --transient
|
||||
hostnamectl --pretty
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue