---
title: "Discussion on \"Get pid of process using port x\" | Hashnode"
description: "Discussion on \"Get pid of process using port x\". lsof -i :port_number\n\nI always keep on forgetting to put : lol\nOther useful commands of lsof. (Generated by none other than GPT)\nThe lsof command is a powerful tool for listing open files and processes on a Unix-like operating system. Apart from find..."
url: "https://hashnode.com/posts/get-pid-of-process-using-port-x/64e3837fc9db12763b42283b"
---

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

Discussion

# [Get pid of process using port x](https://today.igaurab.com/get-pid-of-process-using-port-x?utm_source=hashnode&utm_medium=feed)

lsof -i :port\_number I always keep on forgetting to put : lol Other useful commands of lsof. (Generated by none other than GPT) The lsof command is a powerful tool for listing open files and processes on a Unix-like operating system. Apart from find...

Aug 21, 2023 · 2 min read · today.igaurab.com  
Read the article

## Written by

[Gaurab Panthee](https://hashnode.com/@igaurab)

@igaurab

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

Computer Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
