Diff Linux Command

 

Diff Linux Command

In this blog, you will learn how to use the diff command in linux / unix operating system with example.

Diff Command
  • This command is used to display the differences in files by comparing them line by line.
Syntax
    diff file1 file2
where,
    file 1 can be text file
    file 2 can be another text file.
Example

Video Demo







Comments

Popular posts from this blog

7 Linux Tips for Displaying Contents of File in Linux

Shell Script Input Arguments in Linux

Shell Script If Statement