Command lsof
List all opened files, sockets, pipes
Eg:
- List processes are using port 80 (need root if port between 1-1023)
# sudo lsof -i:80
- List processes are using /bin/bash
# lsof /bin/bash
lsof
List all opened files, sockets, pipes
Eg:
# sudo lsof -i:80
# lsof /bin/bash
Sound good ?
0 kudos, click the star if you think this post is value !
Read more
about #til