Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 309 Bytes

Commands.md

File metadata and controls

24 lines (14 loc) · 309 Bytes
  • Date : 2015-12-30
  • Tags : #sysadmin #bash #command-line

Commands

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