Categories: TutorialsUbuntu

Fuser Command in Linux

Introduction

Files and folders in Linux are accessed by processes of a particular identity. You must know the id of the specific process if you want to perform any action on that process.

It is among the most important tasks of Linux systems administrators. It is involved in a number of activities under supervision, signaling processes, and setting the priorities of processes on the system.

Now we’re gonna teach you to find processes by using the fuser command in Linux.

The syntax of the fuser command

The popular syntax:

$ fuser [options] [file|socket]
$ fuser [options] -SIGNAL [file|socket]
$ fuser -l

Or you can look up usage with the command:

$ fuser

Output:

Using the fuser command

1. Checking the process detail accessing

$ fuser -v .

Output:

In the above command, it displayed USER, PID, ACCESS and COMMAND.

For example, I want to check the processes accessing of file test:

$ fuser -v -m test

Output:

2. Killing signal

For example, to kill all the processes, run the command:

$ fuser -k .

Output:

Using -ki option to ask yes/no:

$ fuser -ki .

Output:

3. Listing all signals:

$ fuser -l

Output:

Conclusion

We just taught you to find processes by using the fuser command in Linux.

Thank you for reading!

Ubuntu Server Admin

Recent Posts

How to Harden Security of VPS Server

This article demonstrates how to harden security of VPS server and is intended for server…

23 hours ago

How to install Wget on Ubuntu 24.04

In this blog post, we will guide you on how to install wget on Ubuntu…

2 days ago

Xfwl4 – The roadmap for a Xfce Wayland Compositor

Jan 27,2026 Xfwl4 - The roadmap for a Xfce Wayland Compositor We, the Xfce team…

5 days ago

🚀 Deploy n8n on Ubuntu VPS (Quick-Start Guide)

This article provides a step-by-step how-to guide to deploy n8n on Ubuntu VPS. What is…

5 days ago

How to avoid package End of Life through backporting

In July 2025, git received CVE-2025-48384, a high vulnerability allowing arbitrary code execution when cloning…

1 week ago

Showcasing open design in action: Loughborough University design students explore open source projects

Last year, we collaborated with two design student teams from Loughborough University in the UK.…

2 weeks ago