Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

How to find the differences between two files

Answer:

Use the diff command

E.g.

diff foo.txt bar.txt

  1. How to find the differences between two files over SSH
  2. How to find the differences between two files (visually)
  3. How to diff two remote files over ssh?
  4. Find all files on a system larger than X MB
  5. Find files by owner

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>