View Single Post
Posts: 146 | Thanked: 76 times | Joined on Feb 2010 @ Poland
#401
I want to make a command which checks if my network is up.
Something like this:

Code:
(test network_up && echo "Network Working!") || echo "No Network!"
What should replace network_up in the command for it to work?
I should somehow check all devices: gprs, wlan, usb network, etc.

Can anyone suggest anything?
__________________
Remember to click Thanks! if this post is of any help