collect the value returned by netstat into a variable
Posted
by Kimi
on Stack Overflow
See other posts from Stack Overflow
or by Kimi
Published on 2010-06-08T18:01:00Z
Indexed on
2010/06/08
18:12 UTC
Read the original article
Hit count: 235
netstat -an | grep hypen echo $variable hypen | wc -l
How to collect the value of netstat -an | grep echo $variable
| wc -l
to a varibale conn_count.
© Stack Overflow or respective owner