Exforsys

Online Training

Suggest a Method

This is a discussion on Suggest a Method within the Linux forums, part of the Operating Systems category; Can someone suggest a method for finding the difference in two configuration files on the same server?...


Go Back   Exforsys > Operating Systems > Linux

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-02-2007, 08:53 AM
Senior Member
 
Join Date: Apr 2006
Posts: 122
rachelle is on a distinguished road
Exclamation Suggest a Method

Can someone suggest a method for finding the difference in two configuration files on the same server?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-29-2007, 12:52 PM
Member
 
Join Date: Apr 2006
Posts: 98
Angela is on a distinguished road
You can use the diff command which compares files line by line for for finding the difference in two configuration files on the same server.
The syntax of usage is as below:

diff -u /usr/home/test1/etc/exf.conf /usr/home/test2/etc/exf.conf
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Best Practices for Checking Prerequisites Mario T. Lanza Software Patterns 2 09-01-2004 06:51 PM
Objective-C FAQ stes@pandora.be Tech FAQ 0 06-18-2004 02:58 PM
Objective-C FAQ stes@pandora.be Tech FAQ 0 05-18-2004 02:59 PM
Smalltalk FAQ (v.1.0) Vikas Malik Tech FAQ 0 04-17-2004 08:27 AM
Objective-C FAQ stes@pandora.be Tech FAQ 0 04-16-2004 02:51 PM


All times are GMT -4. The time now is 06:25 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.