Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi!
When a process in linux run, and it does something like create or edit a file... So, there is a method in linux (or in a programing language) to get all information about it (list of new created files, list of edited files....) ?
Thanks.
Not quite sure what you mean or why you'd want to see all modified files by a running service. Tools like Tripwire can be used to scan your system and keep a snapshot of all files and then report back on modified files the next time it is ran but this picks up everything, not just those modified by a particular service.
You could write a bash script that checks for modified files based on the last modified date, but again, it wouldn't do it for a particular service that I know of. Just depends on what you're wanting this information for.
When we install a source package (not a rpm), the installation maybe creates (or modify) some files, so how can I get ALL the created (or modified) files?
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
hungnt,
There is a tool called updatedb that creates a database of all the files.
Then the command locate is used to find where a file is instead of
the command find. Using updatedb before and after and cmpare the
databases might work. However I do not think dates qre kept in
updatedb.
The intrusion detection system tripwire might fit the bill for what you want to do
It is very comprehensive
btw if you are thinking uninstall, you do not have to delete by hand; you can
just uninstall the rpm; but /vqr or temp files might still be there.
Oops I meqnt if you make / make install
then usually there is also an uninstall procedure as well
Last edited by Emmanuel_uk; 07-16-2005 at 10:58 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.