mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 19:19:44 +01:00
ip address: add page (#3930)
This commit is contained in:
parent
72114be857
commit
a687c64e3f
1 changed files with 27 additions and 0 deletions
27
pages/linux/ip-address.md
Normal file
27
pages/linux/ip-address.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# ip address
|
||||
|
||||
> IP Address management subcommand.
|
||||
|
||||
- List network interfaces and their associated IP addresses:
|
||||
|
||||
`ip address`
|
||||
|
||||
- Filter to show only active network interfaces:
|
||||
|
||||
`ip address show up`
|
||||
|
||||
- Display information about a specific network interface:
|
||||
|
||||
`ip address show dev {{network_interface}}`
|
||||
|
||||
- Add an IP address to a network interface:
|
||||
|
||||
`ip address add {{ip_address}} dev {{network_interface}}`
|
||||
|
||||
- Remove an IP address from a network interface:
|
||||
|
||||
`ip address delete {{ip_address}} dev {{network_interface}}`
|
||||
|
||||
- Delete all IP addresses in a given scope from a network interface:
|
||||
|
||||
`ip address flush dev {{network_interface}} scope {{global|host|link}}`
|
Loading…
Reference in a new issue