Testing a Network Connection on the Command Line