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: 240

Filed under:
|
|
|

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

Related posts about unix

Related posts about shell