Multiple choice technology operating systems

Which command is used to Identify/kill the process that is accessing a file

  1. kill

  2. fuser

  3. proc

  4. killproc

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

fuser (option B) identifies and can kill processes accessing a specified file. kill (A) terminates processes by PID but doesn't find them by file. proc (C) and killproc (D) are not standard commands. fuser is specifically designed to find processes using files.