1 2 3 4 5 6 7 | root@localhost:/home/ubuntu# lsof -n | grep LISTEN xkcd-webs 657 root 4u IPv4 15093 0t0 TCP *:http (LISTEN) sshd 669 root 3u IPv4 15485 0t0 TCP *:ssh (LISTEN) sshd 669 root 4u IPv6 15487 0t0 TCP *:ssh (LISTEN) root@localhost:/home/ubuntu# exit (amd64)ubuntu@localhost:~$ lsof -n | grep LISTEN (amd64)ubuntu@localhost:~$ |