Added docs for ip command (#25737)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Brazier85 2023-01-13 09:46:05 +01:00 committed by GitHub
parent a3748fbe32
commit 3a1356eb9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,