Linux: Check Network Connection Command