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 (visually)

Answer:

Use the vimdiff command

E.g.

# vimdiff foo.txt bar.txt

You can enter vim and the differences between two files will be shown visually.

  1. How to find the differences between two files over SSH
  2. How to find the differences between two files
  3. Find all files on a system larger than X MB
  4. Find files by owner
  5. Find files by group

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>