Get pid of process using port x
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...
today.igaurab.com2 min read