bash - Store output of attached virtual interfaces for a particular bridge -
i want store interfaces output of brctl show <bridge-name>
for example command below gives tabular output veths attaches in last column:
brctl show lxcbr0
is there way store these veths in bash variable? variable can string or list/array.
here output: lxcbr0 8000.fe2055f9d34c no veth2wdtux vethfegpix vethgami9b vethgqsypy vethkw3muf vethm7a3qn vethnc26f7 vethnw6o6u vethwpdu0u
Comments
Post a Comment