10 lines
327 B
Markdown

# lsof examples
In this example we can see that the docs/index.md file is currently open by the tail command
`[ben@jamyn ~/Documents/Projects/Python/mkdocs-pages]$ lsof docs/index.md`
```bash
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
tail 17481 ben 3r REG 0,49 240 1220028 docs/index.md
```