From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Start, stop, and check status of network services

Start, stop, and check status of network services - Linux Tutorial

From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep

Start, stop, and check status of network services

- [Instructor] Now let's look at starting, stopping, and checking the status of network services in Linux. Most servers have at least a few services running on them that deal with network data in one way or another. One example is the SSH Daemon, running in the background and listening for incoming network connections to let people log in remotely. Let's see how we can inspect what programs are currently running and waiting for incoming network connections. There are two utilities we can use, ss and netstat. SS is the more modern tool and netstat is older and might get removed in future versions of Linux-based operating systems. To see programs that are ready to accept incoming network connections, we can use this command, sudo ss -ltunp. The output here is truncated to fit on your screen, but in the next screen, we'll show you the output for the ss utility with all fields displayed. Now -l lists what's currently listening…

Contents