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

The fuser command identifies and optionally terminates (using the -k option) processes accessing a specific file, directory, or socket. Although kill is used to terminate processes, it requires you to already know the PID and cannot directly search for processes by the files they are accessing.