mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 21:15:35 +02:00
Merge pull request #416 from shadowfax92/common-ifconfig
Adding ifconfig options
This commit is contained in:
commit
69dbef4513
1 changed files with 23 additions and 0 deletions
23
pages/common/ifconfig.md
Normal file
23
pages/common/ifconfig.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# ifconfig
|
||||
|
||||
> ifconfig - Interface Configurator, used to configure network interfaces.
|
||||
|
||||
- View network settings of an ethernet adapter.
|
||||
|
||||
`ifconfig eth0`
|
||||
|
||||
- Display details of all interfaces, including disabled interfaces.
|
||||
|
||||
`ifconfig -a`
|
||||
|
||||
- Disable eth0 interface.
|
||||
|
||||
`ifconfig eth0 down`
|
||||
|
||||
- Enable eth0 interface.
|
||||
|
||||
`ifconfig eth0 up`
|
||||
|
||||
- Assign IP address to eth0 interface.
|
||||
|
||||
`ifconfig eth0 {{ip_address}}`
|
Loading…
Add table
Reference in a new issue