mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Added docs for ip command (#25737)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
a3748fbe32
commit
3a1356eb9b
@ -111,12 +111,16 @@ sensor:
|
||||
## Linux specific
|
||||
|
||||
To retrieve all available network interfaces on a Linux System, execute the
|
||||
`ifconfig` command.
|
||||
`ifconfig` or `ip` command. The command differs based on your operation system and version.
|
||||
|
||||
```bash
|
||||
ifconfig -a | sed 's/[ \t].*//;/^$/d'
|
||||
```
|
||||
|
||||
```bash
|
||||
ip link show
|
||||
```
|
||||
|
||||
## Windows specific
|
||||
|
||||
When running this platform on Microsoft Windows, Typically,
|
||||
|
Loading…
x
Reference in New Issue
Block a user