01-27-2011
difference between 2 files in unix
Thanks for the prompt reply... These are log files actually..So i believe while using diff one has to sort data first..But i would try this and update..
---------- Post updated at 05:08 AM ---------- Previous update was at 01:24 AM ----------
Warning: missing newline at end of file testfile1.log
Warning: missing newline at end of file testfile2.log
2
3
Thats is what gets displayed..Also, the result shud go to a new file..
Please suggest
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I recently joined this forum and new to UNIX.
Is there any difference between UNIX operating system and UNIX open server? Please explain. (1 Reply)
Discussion started by: Manjit
1 Replies
2. UNIX for Dummies Questions & Answers
Ok, I'm confused.
Can someone answer these (stupid) questions please for me?
1. What is the difference between unix and linux?
2. Is FreeBSD a unix distribution?
3. If not, then what is Unix? I actually gone to Unix.com because I thought this is it's official website where I could download... (1 Reply)
Discussion started by: RellioN
1 Replies
3. UNIX for Dummies Questions & Answers
OK, I've used various versions of UNIX(Solaris, HPUX, etc..) over the years. Now the organization I work for is leaning towards more Linux based systems(Redhat, Suse, etc..)
I do see differences in in comands and how to accomplish basic adminstration, but nothing mind blowing.
So, what is it... (5 Replies)
Discussion started by: pbonilla
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
What is the difference between the following unix ie.. Linux-unix, HP-Unix, AIX, Solaris Unix... whether commands used in all unix are same? and which one is best?..... (2 Replies)
Discussion started by: gwgreen1
2 Replies
5. Solaris
Hi,
Please explain difference between unix and genunix files in solaris.
Thanks in advance (4 Replies)
Discussion started by: bpsunadm
4 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
can anyone share any URl or link which is about the main 20 advantages and features of unix over windows i mean i need camparison matrix between windows and any flavour of unix. thanks a lot in advance for sharing.
Best Regards (4 Replies)
Discussion started by: younusdba
4 Replies
7. Shell Programming and Scripting
Hi,
I am having files in the below format
$ cat a.txt
1, abc, 1234
2, bcd, 2345
$ cat b.txt
1, bcd, 2345
2, cde, 3456
and I want to display only what is not exists in a.txt through UNIX script.
like 2, cde, 3456
Please advice me. (1 Reply)
Discussion started by: Alex_Smith
1 Replies
8. UNIX for Dummies Questions & Answers
Hi I am new to linux
I have dout waht is the difference between UNIX and LINUX
Is there any soft for insatallation for UNIX OS
Thanks (0 Replies)
Discussion started by: sanjaya
0 Replies
9. UNIX for Beginners Questions & Answers
I have two file as given below which shows the ACL permissions of each file. I need to compare the source file with target file and list down the difference as specified below in required output. Can someone help me on this ?
Source File
*************
# file: /local/test_1
# owner: own
#... (4 Replies)
Discussion started by: sarathy_a35
4 Replies
KPROPLOG(1) General Commands Manual KPROPLOG(1)
NAME
kproplog - display the contents of the Kerberos principal update log
SYNOPSIS
kproplog [-h] [-e num]
DESCRIPTION
The kproplog command displays the contents of the Kerberos principal update log to standard output. It can be used to keep track of the
incremental updates to the principal database, when enabled. The update log file contains the update log maintained by the kadmind process
on the master KDC server and the kpropd process on the slave KDC servers. When updates occur, they are logged to this file. Subsequently
any KDC slave configured for incremental updates will request the current data from the master KDC and update their principal.ulog file
with any updates returned.
The kproplog command can only be run on a KDC server by someone with privileges comparable to the superuser. It will display update
entries for that server only.
If no options are specified, the summary of the update log is displayed. If invoked on the master, all of the update entries are also dis-
played. When invoked on a slave KDC server, only a summary of the updates are displayed, which includes the serial number of the last
update received and the associated time stamp of the last update.
OPTIONS
-h Display a summary of the update log. This information includes the database version number, state of the database, the number of
updates in the log, the time stamp of the first and last update, and the version number of the first and last update entry.
-e num Display the last num update entries in the log. This is useful when debugging synchronization between KDC servers.
-v Display individual attributes per update. An example of the output generated for one entry:
Update Entry
Update serial # : 4
Update operation : Add
Update principal : test@EXAMPLE.COM
Update size : 424
Update committed : True
Update time stamp : Fri Feb 20 23:37:42 2004
Attributes changed : 6
Principal
Key data
Password last changed
Modifying principal
Modification time
TL data
SEE ALSO
kpropd(8)
KPROPLOG(1)