Files
cheatsheet-tldr/tldr/osx/fuser
2025-09-23 00:19:31 +00:00

18 lines
429 B
Plaintext

---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# fuser
> Display process IDs currently using files.
> More information: <https://keith.github.io/xcode-man-pages/fuser.1.html>.
- Show PIDs of processes accessing a file or directory:
`fuser {{path/to/file_or_directory}}`
- Show PIDs and usernames of processes accessing a file or directory:
`fuser -u {{path/to/file_or_directory}}`