Linux fallocate split cat md5sum切割与合并

这篇博客介绍了在Linux环境下使用fallocate创建大文件,split进行文件切割,cat进行文件合并,以及md5sum验证文件完整性的基本操作。通过示例展示了这些命令的用法及其在实际工作中的应用。

Linux fallocate split cat md5sum切割与合并
fallocate -l 50M cntfile
md5sum cntfile
25e317773f308e446cc84c503a6d1f85  cntfile
split -b 10MB cntfile
-rw-rw-r-- 1 hehe hehe 10000000 Oct  9 20:24 xaa
-rw-rw-r-- 1 hehe hehe 10000000 Oct  9 20:24 xab
-rw-rw-r-- 1 hehe hehe 10000000 Oct  9 20:24 xac
-rw-rw-r-- 1 hehe hehe 10000000 Oct  9 20:24 xad
-rw-rw-r-- 1 hehe hehe 10000000 Oct  9 20:24 xae
-rw-rw-r-- 1 hehe hehe  2428800 Oct  9 20:24 xaf
cat x* >new_cntfile
ll *cn*
-rw-rw-r-- 1 hehe hehe 52428800 Oct  1 19:53 cntfile
-rw-rw-r-- 1 hehe hehe 52428800 Oct  1 20:27 new_cntfile
 md5sum new_cntfile
25e317773f308e446cc84c503a6d1f85  new_cntfile

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值