linux下文件分割与合并
$dd if=source of=target.1 bs=1M count=10
??$dd if=source of=target.2 bs=1M skip=10
??source被分为target.1和target.2两个文件,其中target.1为source的前10M部分;target.2为source的减去10M后的部分。
??$cat target.1 target.2 othersource
??source与othersource是同一个文件。
$dd if=source of=target.1 bs=1M count=10
??$dd if=source of=target.2 bs=1M skip=10
??source被分为target.1和target.2两个文件,其中target.1为source的前10M部分;target.2为source的减去10M后的部分。
??$cat target.1 target.2 othersource
??source与othersource是同一个文件。