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 |
I have one flat file,in this file how many columns are there i don't know,but one ename column is there , just i want to cut the surname, so how to cut the surname, any one know the answer please guide me ? ename ----- tapan kumar nayak bala murugan kutal chkrobarthy biswo My output is like that OUTPUT ------ nayak murugan chakrobarthy biswo
What is unix kernel?
What is disk block allocation in unix?
Explain kernal and shell?
How do I grep multiple patterns in unix?
what is wrong with this interactive shell script?
How to print/display the first line of a file in Unix?
What is a filter in unix? Give an example.
How do I run a .sh file in unix?
Why unix terminals are called dummy terminals?
What are the hidden files in unix?
What are internal and external commands in unix?