linux 中 生成文件的sha1码

 

001、

root@PC1:/home/test3# ls
root@PC1:/home/test3# seq 1000 > a.txt               ## 生成一个测试文件
root@PC1:/home/test3# ls
a.txt
root@PC1:/home/test3# sha1sum a.txt                  ## 使用sha1sum命令生成sha1码
234e7e9c9c8490946d3e8c2a01bff41e9acce269  a.txt

 

posted @ 2022-09-11 17:13  小鲨鱼2018  阅读(169)  评论(0编辑  收藏  举报