List open files
This command lists regular files that are open by running processes:
lsof -n | grep REG
Or just grep for the file you are looking for:
lsof -n | grep $filename
|
|
|
|
|
|
|
|
|
|
|
|
This command lists regular files that are open by running processes:
lsof -n | grep REG
Or just grep for the file you are looking for:
lsof -n | grep $filename
|
|
|
|
|
|
|
|
|
|
|
|