command to display different lines that are found when
compare two files?
Answers were Sorted based on User's Feedback
Answer / prakash singh syan
diff file1 file2
Above command will display all the lines which r diff in
file1 & file2 whereas, cmp will only display 1st occurance
of difference.
Is This Answer Correct ? | 14 Yes | 1 No |
How zip the file in unix?
What are the criteria for choosing a process for swapping into memory from the swap device?
Does windows 10 have unix?
how do display only hidden files in unix?
How do I run a shell script in unix?
Is mac a unix system?
Difference between the fork() and vfork() system call?
What is called in unix?
How to know the present working directory in unix?
What uses unix?
finding the presence of a word in a list of 'n' files (pattern matching)
What are the common directory management commands in unix?