Which command is used to compare the files?



Which command is used to compare the files?..

Answer / Yashveer Singh

In Linux, the 'diff' command can be used to compare two files and show the differences between them. For example, 'diff file1.txt file2.txt' will display the differences between 'file1.txt' and 'file2.txt'.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

How you will uncompress the file?

7 Answers   Linux,


What are linux commands useful?

1 Answers  


What is grep command in linux with examples?

1 Answers  


What is clang space engineers?

1 Answers  


what is difference between $@ and $* in UNIX Shell script

3 Answers   Google,


What does cd – command do?

1 Answers  


What are the basic command in linux?

1 Answers  


What are the basic dos commands?

1 Answers  


How do you limit memory usage for commands?

1 Answers  


How will retrieves incoming mails from different web sites

2 Answers   HCL, HP,


How to write the output of a command to a file?

1 Answers  


What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?

1 Answers  


Categories