当前位置:网站首页>使用sha256文件验证下载的文件
使用sha256文件验证下载的文件
2022-07-02 05:51:00 【mengloveyu】
sha256文件验证下载的文件
准备sha256文件和待检验的文件
[[email protected]]# ll
total 24076
-rw-r--r-- 1 root root 24647024 May 18 01:22 istio-1.13.4-linux-amd64.tar.gz
-rw-r--r-- 1 root root 97 May 18 01:22 istio-1.13.4-linux-amd64.tar.gz.sha256
使用sha256sum
验证文件
语法:
cat [sha256文件] | sha256sum --check
样例执行:
// 自动对比
[[email protected]]# cat istio-1.13.4-linux-amd64.tar.gz.sha256 | sha256sum --check
istio-1.13.4-linux-amd64.tar.gz: OK
// 或自行对比
[[email protected] istio]# cat istio-1.13.4-linux-amd64.tar.gz.sha256
a7066afc8ff91266f8903ce6c3c994aafc12da80175c5a3f9f7ab0ed7eaa020f istio-1.13.4-linux-amd64.tar.gz
[[email protected]]# sha256sum istio-1.13.4-linux-amd64.tar.gz
a7066afc8ff91266f8903ce6c3c994aafc12da80175c5a3f9f7ab0ed7eaa020f istio-1.13.4-linux-amd64.tar.gz
边栏推荐
猜你喜欢
软件测试答疑篇
“簡單”的無限魔方
Stick to the big screen UI, finereport development diary
15 C language advanced dynamic memory management
VSCode paste image插件保存图片路径设置
“简单”的无限魔方
Reading notes of cgnf: conditional graph neural fields
all3dp. All Arduino projects in com website (2022.7.1)
Centos8 installation mysql8.0.22 tutorial
A collection of commonly used plug-ins for idea development tools
随机推荐
“简单”的无限魔方
Technologists talk about open source: This is not just using love to generate electricity
Zzuli:1069 learn from classmate Z
Visual Studio导入
2022-2-14 learning xiangniuke project - Section 7 account setting
Appnuim environment configuration and basic knowledge
Pytorch Basics
Gcnet: non - local Networks meet Squeeze excitation Networks and Beyond
ThreadLocal memory leak
[golang syntax] be careful with the copy of slices
文件包含漏洞(一)
在线音乐播放器app
File contains vulnerability (I)
[Chongqing Guangdong education] selected reading reference materials of British and American literature of Nanyang Normal University
How to write good code - Defensive Programming Guide
深度学习分类网络--VGGNet
Software testing Q & A
记录sentry的踩坑之路
1036 Boys vs Girls
Vite打包后的dist不能直接在浏览器打开吗