02-25-2010
Compare 2 systems to find any differences
Hi there,
I have 2 machines running HP-UX. One off these controllers is able to send mail and the other cannot. I have looked at all the settings that I know and coannot find any differences. Is there a way to audit the 2 machinces by pulling all the settings then compare any differences?
Thanks in advance..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a column in 2 different files which i want to compare, and output the results to a different file. The columns are in different positions in those 2 files.
File 1 the column is in position 10-15
File 2 the column is in position 15-20
Please advise
Thanks (1 Reply)
Discussion started by: samit_9999
1 Replies
2. Shell Programming and Scripting
Hello,
I am new to scripting and have been trying to compare two different directories, but with all the same file names in each directory for file changes. I have been doing it in baby steps and have been doing pretty good, but I have hit a few snags. Test 1 and Test 2 work great, but my... (4 Replies)
Discussion started by: dmaday
4 Replies
3. Shell Programming and Scripting
Hi experts,
I'mvery new to shell scripting and learning it now
currently i am having a problem which may look easy to u :)
i have two files
File 1:
Start :Thu Nov 19 10:33:09 2009
ABCDGFSDJ.txt
APDemoNew.ppt
APDemoOutline.doc
ARDemoNew.ppt
ARDemoOutline.doc
File 2:
Start... (10 Replies)
Discussion started by: CelvinSaran
10 Replies
4. UNIX for Dummies Questions & Answers
Hi
i have gone through some sdiff command it shows the differences side by side and its really awesome
file 1:
this tool is for
checking the differ
merging with flower pots documentation
file 2:
this t ool is for
checking the differ
mergin g with flower pots documentation
... (27 Replies)
Discussion started by: rakeshkumar
27 Replies
5. Shell Programming and Scripting
need a one liner to compare 2nd and 3rd field and print values that are not matched in 2nd field
Input
col 2 col 3
1.1.1.1 11.11.11.11
8.8.8.8 0.0.0.0
3.3.3.3 2.2.2.2
7.7.7.7 3.3.3.3
5.5.5.5 1.1.1.1
4.4.4.4
6.6.6.6
9.9.9.9
output
7.7.7.7 ... (12 Replies)
Discussion started by: chidori
12 Replies
6. Shell Programming and Scripting
Hi,
I need to compare the two files and list out difference between the two.
Please assist.
Best regards,
Vishal (2 Replies)
Discussion started by: Vishal_dba
2 Replies
7. Shell Programming and Scripting
Hello everybody
Looking for help in comparing two files in Linux(files are big 800MB each).
Example:-
File1 has below data
$ cat file1
5,6,3
2.1.4
1,1,1
8,9,1
File2 has below data
$ cat file2
5,6,3
8,9,8
1,2,1
2,1,4 (1 Reply)
Discussion started by: shanul karim
1 Replies
8. UNIX for Beginners Questions & Answers
Hello everybody
Looking for help in comparing two files in Linux(files are big 800MB each).
Example:-
File1 has below data
$ cat file1
5,6,3
2.1.4
1,1,1
8,9,1
File2 has below data
$ cat file2
5,6,3
8,9,8
1,2,1
2,1,4 (8 Replies)
Discussion started by: shanul karim
8 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I have 2 files abc.txt and bdc.txt.
I am using
$diff -y abc.txt bcd.txt -- compared the files side by side
I would like to write a Shell Script to cmpare the files side by side and print the results( which are not matched) in a side by side format and save the results in another... (10 Replies)
Discussion started by: vasuvv
10 Replies
10. Shell Programming and Scripting
Hey
im working on script that can compare 2 directory and check difference, then copy difference files in third diretory.
here is the story:
in folder one we have 12 subfolder and in each of them near 500 images hosted.
01 02 03 04 05 06 07 08 09 10 11 12
in folder 2 we have same subfolder... (2 Replies)
Discussion started by: nimafire
2 Replies
LEARN ABOUT LINUX
ntfscmp
NTFSCMP(8) System Manager's Manual NTFSCMP(8)
NAME
ntfscmp - compare two NTFS filesystems and tell the differences
SYNOPSIS
ntfscmp [OPTIONS] DEVICE1 DEVICE2
DESCRIPTION
The ntfscmp program makes a comparison between two NTFS filesystems from all aspects and reports all variances it finds. The filesystems
can be on block devices or images files. Ntfscmp can be used for volume verification however its primary purpose was to be an efficient
development tool, used to quickly locate, identify and check the correctness of the metadata changes made to NTFS.
If one is interested only in the NTFS metadata changes then it could be useful to compare the metadata images created by using the --meta-
data option of ntfsclone(8) to eliminate the usually uninteresting timestamp changes.
The terse output of ntfscmp is intentional because the provided information is enough in each case to determine the exact differences. This
can be achieved, for instance, if one compares the verbose outputs of ntfsinfo(8) for each reported inodes by the diff(1) utility.
OPTIONS
Below is a summary of the options that ntfscmp accepts.
-P, --no-progress-bar
Don't show progress bars.
-v, --verbose
More informational output.
-h, --help
Display help and exit.
EXIT CODES
The exit code is 0 on success, non-zero otherwise.
KNOWN ISSUES
No problem is known. If you would find otherwise then please send your report to the development team: ntfs-3g-devel@lists.sf.net
AUTHOR
ntfscmp was written by Szabolcs Szakacsits. It was ported to ntfs-3g by Erik Larsson.
AVAILABILITY
ntfscmp is part of the ntfs-3g package and is available from:
http://www.tuxera.com/community/
SEE ALSO
ntfsinfo(8), ntfscat(8), diff(1), ntfsclone(8), ntfsprogs(8)
ntfs-3g 2011.4.12AR.4 April 2006 NTFSCMP(8)