Vim diff in linux (debian) Reports error E97 solution 1: an error was reported when vim was used to compare two files. I used debian stable. vim is vim7.2 www.2cto.com 2 from aptitude. So I tracked diff www.2cto.com [html] root @ host: /usr/share/vim/vim72 # type diff is/usr/bin/diff root @ host: /usr/share/vim/vim72 # type vimdiff is/usr/bin/vimdiff root @ host: /usr/share/vim/vim72 # ll/usr/bin/vimdiff lrwxrwxrwx 1 root 25 []/usr/bin/vimdiff->/etc/alternatives/vimdiff * root @ host: /usr/share/vim/vim72 # ll/etc/alternatives/vimdiff lrwxrwxrwx 1 root 16 []/etc/alternatives/vimdiff->/usr/bin/vim. gtk * root @ host:/usr/share/vim/vim72 #3: execute the following command to create two similar files. there is a small area. [python] # echo '2014 111 222 333 '> 1.txt # echo '2014 111 222 333'> 1.txt # echo '2014 111 222 333 '> 1.txt # cp 1.txt 2.txt # echo' 111 222 333 44455 '> 2.txt # diff 1.txt 2.txt normal diff # vimdiff 1.txt 2.txt error [html]/bin/bash: /usr/share/vim/vim72diff No Such file or directory is simple here [html] # ln-s/usr/bin/diff/usr/share/vim/vim72diff if it is compiled of 7.3. change to vim73diff. the path is at your compiling position 4: diffsuccess (I changed the second line of 1.txt)