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 Deploy Django 6 on Ubuntu VPS

Below is a detailed, production-ready guide for How to Deploy Django 6 on Ubuntu VPS.…

13 hours ago

Why you should retire your Microsoft Azure Consumption Commitment (MACC) with Ubuntu Pro

When your organization first signed its Microsoft Azure Consumption Commitment (MACC), it was a strategic…

2 days ago

Java 25 now available on Google Cloud Serverless

[December 11, 2025] Today Canonical, the publisher of Ubuntu, announced the immediate availability of Java…

3 days ago

How to launch a Deep Learning VM on Google Cloud

Setting up a local Deep Learning environment can be a headache. Between managing CUDA drivers,…

3 days ago

Harnessing the potential of 5G with Kubernetes: a cloud-native telco transformation perspective

Telecommunications networks are undergoing a cloud-native revolution. 5G promises ultra-fast connectivity and real-time services, but…

4 days ago