whats wrong with my internet connection checker script?
Suvayu Ali
fatkasuvayu+linux at gmail.com
Sun Dec 26 23:01:26 UTC 2010
On Sunday 26 December 2010 02:30 PM, S Mathias wrote:
> $ ping -W 1 -c 4 google.com>& /dev/null
I am not sure about these redirects. As I understand it, with that you
are sending all output to /dev/null so the first grep fails and it skips
to the command after the || and echoes no internet connection.
--
Suvayu
Open source is the future. It sets us free.
More information about the users
mailing list