如何用shell判断网络是否存在现在想在程序中判断特定的网络是否存在,目前的想法是用shell netstat命令调出所有链接,然后管道查找到所找的链接但是具体不知道怎么操作,求指教啊[解决办法]netstat|grep ...[解决办法]顶楼上都是netstat -a | grep ...