Skip to content

Commit

Permalink
Created lsof (markdown)
Browse files Browse the repository at this point in the history
  • Loading branch information
hparra committed Aug 13, 2016
1 parent e18b2ee commit c84797e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lsof.md
@@ -0,0 +1,17 @@
# lsof -- list open files

## EXAMPLES

`lsof -c $PROGRAM` - list files for program like $PROGRAM

`lsof -i TCP` - list TCP files

## NOTES

Remember to use `-a` to join rules.

Recall that socket connections are represented as files in *nix systems.

## REFERENCES

[An lsof Primer](https://danielmiessler.com/study/lsof/)

0 comments on commit c84797e

Please sign in to comment.