Formatted all pages according to guidelines.
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
# hostname
|
||||
|
||||
> Show or set the system's host name
|
||||
> Show or set the system's host name.
|
||||
|
||||
- Show current host name
|
||||
- Show current host name:
|
||||
|
||||
`hostname`
|
||||
|
||||
- Show the network address of the host name
|
||||
- Show the network address of the host name:
|
||||
|
||||
`hostname -i`
|
||||
|
||||
- Show all network addresses of the host
|
||||
- Show all network addresses of the host:
|
||||
|
||||
`hostname -I`
|
||||
|
||||
- Show the FQDN (Fully Qualified Domain Name)
|
||||
- Show the FQDN (Fully Qualified Domain Name):
|
||||
|
||||
`hostname --fqdn`
|
||||
|
||||
- Set current host name
|
||||
- Set current host name:
|
||||
|
||||
`hostname {{new_hostname}}`
|
||||
|
Reference in New Issue
Block a user