mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 03:44:07 +00:00
18 lines
429 B
Plaintext
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}}`
|