split命令_Linux split命令:切割(拆分)文件

#使用-N来指定拆分的行数,本例中为-10 [root@roclinux ~]$ split -d -10 /etc/passwd my_passwd_ #可以看到拆分成功 [root@roclinux ~]$ wc -l my_passwd_* 10 my_passwd_00 10 my_passwd_01 5 my_passwd_02 25 total

Leave a Reply

Your email address will not be published. Required fields are marked *