Reputation: 821
Is there any command which can check any processes holding a file in Linux and in Windows ?
Upvotes: 2
Views: 3549
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