added check_ping and check_nc functions to bashrc