Determinar se uma porta está up ou down Por eduardo Seg, 2013-09-09 01:12 para a porta 0 - wan no tl-wr1043nd swconfig dev switch0 show | sed -n '/link: port:0/p' | cut -d: -f4 | cut -d " " -f1 Ver mais about Determinar se uma porta está up ou down