Solved

Directory/File Events

Posted on 2004-03-27
2
218 Views
Last Modified: 2010-04-20
I am new to linux programming, comming from years of windows development.  Is there a directory/file event facility like .NET has with its "FileSystemWatcher" functionality?

Thanks
0
Comment
Question by:Bear7137
2 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 250 total points
ID: 10695200
You can use Mono's FileSystemWatcher, but there is no general feature that would allow this under Linux. Mono is an open implementation of .NET (http://www.go-mono.com)
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 10696397
lsof (list open files) is the nearest thing I can think of. You can pick any process/user and find out what files are in use including any library files.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question