find

No Image

Find a Linux or Unix process (PID) based on port

Today I ran into a problem where I wanted to find out what Linux process (PID) was listening on which port. You might A fellow sysadmin coworker showed me this command: lsof -i :port Lsof will list the PID and…


No Image

Useful ways to use the Linux “find” command

In my Linux life, I find myself trying to search for files quite frequently. All distributions comes with a very handy command called ‘locate’ which helps you search for the file. What it does is Linux keeps an index and…