Solved

Directory/File Events

Posted on 2004-03-27
2
215 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

786 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