Linux Terminal Glossary
›
File Viewing & Editing
vim -d file1 file2
Category:
File Viewing & Editing
vim -d file1 file2
Copy command
Open vim in diff mode to compare two files
Opens two files side by side in vim's diff mode to compare them visually with highlighted differences.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.