LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 12-24-2014, 11:50 PM   #1
steelheat
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: Reputation: 7
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?
 
Old 12-24-2014, 11:58 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,297
Blog Entries: 24

Rep: Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255
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.
Old 12-26-2014, 10:24 PM   #3
steelheat
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: Reputation: 7
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
 
Old 12-26-2014, 11:06 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "net rpc" "failed to connect to ipc$ share on" or "unable to find a suitable server" larieu Linux - General 0 11-09-2014 12:45 AM
After I complete the compiling of LFS,"Interface eth0 doesn't exist" occurs. riondavid Linux From Scratch 8 02-07-2010 10:38 AM
After I complete the compiling of LFS,"Interface eth0 doesn't exist" occurs. weiguixm Linux From Scratch 1 10-10-2008 11:17 PM
why is the error "Page allocation faliure order: 8 mode 0x1d " occurs. Atul Waghmare Linux - Newbie 0 09-02-2008 05:03 AM
UT: "fread failed: BufferCount = -248172 Error=1" occurs after gfx card change SBing Linux - Games 2 07-04-2004 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration