From the course: SUSE Linux Enterprise Server Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Basic network commands

Basic network commands - Linux Tutorial

From the course: SUSE Linux Enterprise Server Essential Training

Start my 1-month free trial

Basic network commands

- [Instructor] Now let's take a look at networking. If you've gotten your network cards up and connected, drawing an IP from DHCP server maybe or you're using static configuration. At some point you want to test them to make sure that you can actually get to where you're going. So there's two commands we are going to take a look at. Very common, first one is ping, and you give it the location that you wish to ping, which should be a host name somewhere on the internet. It will continue to return pings until you use Control C to stop it. It's considered bad taste to let it keep on running, unless you're pinging something locally that you own. So most often when you do a ping, you're going to go in and you're gonna make a change to use an option for the count. Anything from three to five is generally considered acceptable. So if I use -C3, it will make three pings and then it will report the statistics for those three pings. So now that is what you can use to see if you can ping an…

Contents