|Lesson 3||Determining Network Connections|
|Objective||Use netstat command to view active TCP connections on Machine.|
netstatcommand examines many of the kernel's tables that deal with network connections. One of its most useful applications is to list active network connections involving your machine.
netstatcommand will list active TCP connections and show active UNIX domain connections. UNIX domain connections are internal to one machine; they are a form of interprocess communication. For the purposes of this course, we will concentrate on TCP connections.
netstatto view active TCP connections.
netstat -P tcpcommand.