---
title: "Discussion on \"Scanning for open ports\" | Hashnode"
description: "Discussion on \"Scanning for open ports\". lsof\nlist of open files\nlsof -i -P -n | grep LISTEN\n\nnetstat\nPrint network connections, routing tables, interface statistics, masquerade connections, and multicast memberships \nnetstat -tulpn | grep LISTEN\n\nss\nutility to investigate sockets\nss -tulpn..."
url: "https://hashnode.com/posts/scanning-for-open-ports/63b56e76bf8d6f4731908eac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Scanning for open ports](https://bartko.hashnode.dev/scanning-for-open-ports?utm_source=hashnode&utm_medium=feed)

lsof list of open files lsof -i -P -n | grep LISTEN netstat Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships netstat -tulpn | grep LISTEN ss utility to investigate sockets ss -tulpn...

Jan 4, 2023 · 1 min read · bartko.hashnode.dev  
Read the article

-   [#linux](https://hashnode.com/tag/linux)
-   [#basics](https://hashnode.com/tag/basics)
-   [#networking](https://hashnode.com/tag/networking)

## Written by

[Andrej Bartko](https://hashnode.com/@bartko)

@bartko

  
[View profile](https://hashnode.com/@bartko)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
