Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
12-24-2014, 11:50 PM
|
#1
|
Member
Registered: Jun 2006
Location: Western US of A
Distribution: Kubuntu20.04,Debian 9,10,11,#419541 wRegistered user ith the Linux Counter
Posts: 86
Rep:
|
I'm wanting to know how I can find "every change" that occurs to the system after ins
I'm wanting to know how I can find "every change" that occurs to the system after installing a program.
In other words, is there a program(s) or commands that I can run before and
after installing software, that will find all the changes to the system and
all the new files that have been installed?
|
|
|
12-24-2014, 11:58 PM
|
#2
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,297
|
I do that at times using this:
Code:
tree -aifFD -I 'home|tmp|sys|proc|root' / >pre_tree
... install things here...
tree -aifFD -I 'home|tmp|sys|proc|root' / >post_tree
sdiff -s pre_tree post_tree > diff_tree
The -I list is directories to NOT include, adjust to your needs.
The file diff_tree will provide the list of everything that has changed.
|
|
1 members found this post helpful.
|
12-26-2014, 10:24 PM
|
#3
|
Member
Registered: Jun 2006
Location: Western US of A
Distribution: Kubuntu20.04,Debian 9,10,11,#419541 wRegistered user ith the Linux Counter
Posts: 86
Original Poster
Rep:
|
Thank you astrogeek!
I will be trying your code out and will get back to you soon I hope!
Thanks for giving me something to check out my system with.sh
|
|
|
12-26-2014, 11:06 PM
|
#4
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908
|
You might also check with your distribution and see if it has "tripwire" available.
Tripwire (the program not the company) is a file monitoring tool that does much more than just check access/modification dates. It can take a cryptographic checksum of the file and check to see if any file is modified, even if the dates on the file don't change.
It will detect silent data corruption as well as unauthorized changes...
|
|
|
All times are GMT -5. The time now is 12:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|