mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 16:55:34 +02:00
hostname: remove non-functional example and add option placeholders (#15958)
This commit is contained in:
parent
e5f1ef3034
commit
e3d8ef72c8
1 changed files with 2 additions and 6 deletions
|
@ -9,15 +9,11 @@
|
||||||
|
|
||||||
- Show the network address of the host name:
|
- Show the network address of the host name:
|
||||||
|
|
||||||
`hostname -i`
|
`hostname {{[-i|--ip-addresses]}}`
|
||||||
|
|
||||||
- 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`
|
`hostname {{[-f|--fqdn]}}`
|
||||||
|
|
||||||
- Set current host name:
|
- Set current host name:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue