diff
Jump to navigation
Jump to search
diff compare files line by line
Examples[edit]
diff -y file1 file2diff -y --suppress-common-lines file1 file2diff -y --suppress-common-lines -W 200 file1 file2
diff /path/to/DIRECTORY1/ /path/to/DIRECTORY2/diff -r /path/to/DIRECTORY1/ /path/to/DIRECTORY2/
diff -y file1.tf file2.bak --suppress-common-lines
Related commands[edit]
See also[edit]
ack, ag, ripgrep, grep,egrep, fgrep,agrep,ngrep,pgrep,awk,sed,strings,tr,tail,mtail,git grep,wc,uniq,LogQL,findstr (Windows),rg, git-grep, cutdiff,icdiff, vimdiff, meld,git diff,git diff-tree, kubectl diff- file, File system, directory,
touch,mkdir,ls,lntruncate,fallocate,split,stat, inode, File descriptor, superblock, block size (blockdev),fuser,lsof,scrub,chattr, ulimit (nofiles),cp,mv,file (command),mkfifo,chmod
Advertising: