CmdID

CmdID / Commands

fuser

Display process IDs currently using files or sockets. tldr-pages

On Linux, macOS

Opens CmdID with your command. It is read in your browser and sent nowhere.

Find which processes are accessing a file or directory

fuser path/to/file_or_directoryIdentify

Show more fields (USER, PID, ACCESS, and COMMAND)

fuser --verbose path/to/file_or_directoryIdentify

Identify processes using a TCP socket

fuser port/tcpIdentify

Kill all processes accessing a file or directory (sends the SIGKILL signal)

fuser --kill path/to/file_or_directoryIdentify

Find which processes are accessing the filesystem containing a specific file or directory

fuser --mount path/to/file_or_directoryIdentify

Kill all processes with a TCP connection on a specific port

fuser --kill port/tcpIdentify

Display process IDs currently using files.

Show PIDs of processes accessing a file or directory

fuser path/to/file_or_directoryIdentify

Show PIDs and usernames of processes accessing a file or directory

fuser -u path/to/file_or_directoryIdentify