Here is how I do it on Linux: if `ifconfig |grep -q ppp0` then echo "NET UP" else echo "NET DOWN" fi - To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [EMAIL PROTECTED]
- cleanest, simplest way for a shell script to determine wh... Joseph Morrison
- Re: cleanest, simplest way for a shell script to det... Edward Dekkers
- Re: cleanest, simplest way for a shell script to det... S.Toms
- Re: cleanest, simplest way for a shell script to det... fred smith
- Re: cleanest, simplest way for a shell script to det... Steve Glines
- Re: cleanest, simplest way for a shell script to det... Chuck Hallenbeck
- RE: cleanest, simplest way for a shell script to... Dale W Hodge
- RE: cleanest, simplest way for a shell scrip... Ed Doolittle
- Re: cleanest, simplest way for a shell script to det... jes
