command to display different lines that are found when
compare two files?
Answer Posted / 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 |
Post New Answer View All Answers
How unix is different from other operating systems?
Explain the method of changing file access permission?
What are a shell in unix and its types?
What are the hidden files in unix?
What is unix kernel?
How to change the password in unix operating system?
Can you explain what does the kernel do?
How to restrict NULL value in UNIX
Explain the different types of pathnames that are used in unix.
How do you determine and set the path in unix?
What is the chief difference between the –v and –x option s to set?
What is directory unix?
What is ‘the principle of locality’?
Name the different file types available with unix.
Explain Sticky bit?