Testing networks with bash shell