wget下md5sum
时间: 2023-10-25 11:06:59 浏览: 196
windows下的md5sum
5星 · 资源好评率100%
在使用wget命令下载文件的过程中,我们可以通过md5sum命令来验证文件的完整性。首先,使用wget命令来下载文件,例如:wget http://download.qt.io/archive/qt/4.8/4.8.6/md5sums-4.8.6。然后,使用md5sum命令来生成文件的md5值,例如:md5sum qt-everywhere-opensource-src-4.8.6.tar.gz。最后,通过比较生成的md5值与预期的md5值是否一致来判断文件是否完整和正确。可以使用md5sum -c命令来进行比较,例如:md5sum -c qt-everywhere-opensource-src-4.8.6.tar.gz.md5。如果文件完整且正确,会显示"OK",否则会显示"FAILED"。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Linux下使用md5sum计算和检验MD5码](https://blog.csdn.net/weixin_29797343/article/details/117478218)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [Linux命令之md5sum](https://blog.csdn.net/wangquan1992/article/details/103622259)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文