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

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -