dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


How to Find Out Who is Using a File in Linux

May 12, 2020, 05:00 (0 Talkback[s])
(Other stories by Tecmint)

We can use the lsof command to know if someone is using a file, and if they are, who. It reads kernel memory in its search for open files and helps you list all open files. In this case, an open file may be a regular file, a directory, a block special file, a character special file, a stream, a network file and many others ??? because in Linux everything is a file.

Complete Story