which line of configuration got changed

Alicelinux

New Member
Joined
Sep 23, 2018
Messages
23
Reaction score
0
Credits
0
we noticed that one config file in /etc/ got changed, but this configuration files got more than 20 lines, we don't know which portion is changed, and we don't have the old file to do comparision, in red hat linux, do we have some command to check file change history with detail? thanks
 


OP
A

Alicelinux

New Member
Joined
Sep 23, 2018
Messages
23
Reaction score
0
Credits
0
I have read the book, but there is no command for that, anyone knows?
 

Rob

Administrator
Staff member
Joined
Oct 27, 2011
Messages
932
Reaction score
1,809
Credits
1,241
Hello Alicelinux - unfortunately, unless you have some kind of version control installed, and don't have a backup of the file, you won't be able to see which lines changed.

What is the file that has changed? Is this a default file that you can check against a new installation of RHEL?

Rob
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top