It's grotesque how in 2019 we still have to rely on primitive, ambiguous tools like grep and awk to extract information from a linux command
This is what I could came up to "find broadcast address of a given network interface":
ip a s dev docker0 | grep "inet.*brd" | awk '{print $4}'
It's a mad world.
This is what I could came up to "find broadcast address of a given network interface":
ip a s dev docker0 | grep "inet.*brd" | awk '{print $4}'
It's a mad world.