fuser Command Examples

Display process IDs currently using files or sockets. More information: https://manned.org/fuser.

fuser {{path/to/file_or_directory}}

fuser --verbose {{path/to/file_or_directory}}

fuser --namespace tcp {{port}}

fuser --kill {{path/to/file_or_directory}}

fuser --mount {{path/to/file_or_directory}}

fuser --kill {{port}}/tcp