首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

Ubuntu查验MD5

2012-12-19 
Ubuntu检验MD5最近使用Ubuntu安装Eclipse,但是一直未能成功。最后使用md5sum命令检查安装文件发现是自己下

Ubuntu检验MD5
最近使用Ubuntu安装Eclipse,但是一直未能成功。最后使用md5sum命令检查安装文件发现是自己下载的文件损坏了。很郁闷。现将md5sum命令相关内容复制于下面。

administrator@ubuntu:~$ md5sum --helpUsage: md5sum [OPTION]... [FILE]...Print or check MD5 (128-bit) checksums.With no FILE, or when FILE is -, read standard input.  -b, --binary            read in binary mode  -c, --check             read MD5 sums from the FILEs and check them  -t, --text              read in text mode (default)The following three options are useful only when verifying checksums:      --quiet             don't print OK for each successfully verified file      --status            don't output anything, status code shows success  -w, --warn              warn about improperly formatted checksum lines      --help     display this help and exit      --version  output version information and exitThe sums are computed as described in RFC 1321.  When checking, the inputshould be a former output of this program.  The default mode is to printa line with checksum, a character indicating type (`*' for binary, ` ' fortext), and name for each FILE.Report md5sum bugs to bug-coreutils@gnu.orgGNU coreutils home page: <http://www.gnu.org/software/coreutils/>General help using GNU software: <http://www.gnu.org/gethelp/>Report md5sum translation bugs to <http://translationproject.org/team/>

使用
administrator@ubuntu:~$ md5sum *.iso 

*代表您要检验的文件名


相应文件的MD5值可以到网上找。
我检验的文件是
eclipse-java-helios-SR2-linux-gtk.tar.gz
其MD5值为
59f7d3c4cefdd09a3de638ab3fcbc706 

热点排行