2021-06-10 11:08:56 +00:00
|
|
|
# getidev
|
|
|
|
|
2024-04-08 14:25:05 +00:00
|
|
|
[](https://drone.cryptic.systems/volker.raschek/getidev)
|
|
|
|
[](https://hub.docker.com/r/volkerraschek/getidev)
|
|
|
|
|
2024-04-08 14:18:46 +00:00
|
|
|
`getidev` is a small program to determine the network interface name based on a
|
|
|
|
provided ip address.
|
2021-06-10 11:08:56 +00:00
|
|
|
|
|
|
|
`getidev` serves as an alternative to `ip route get <ip> | awk ...` because `ip
|
2024-04-08 14:18:46 +00:00
|
|
|
route get` can return a different output depending on of the distribution and
|
|
|
|
the installed package versions. For this reason was `getidev` developed to
|
|
|
|
return a stable outout.
|
|
|
|
|
|
|
|
`getidev` is also as container image available: `docker.io/volkerraschek/getidev`.
|