Dino
Dino

Reputation: 821

Checking processes which hold a file in Linux & Windows

Is there any command which can check any processes holding a file in Linux and in Windows ?

Upvotes: 2

Views: 3549

Answers (1)

Mat
Mat

Reputation: 206869

lsof and fuser can be used on Linux (and other Unix-like systems).

For Windows, Process Explorer can be used for that, or handle for a command-line version.

Upvotes: 6

Related Questions