split

按行或者字节分割文件

语法

split [OPTION]… [FILE [PREFIX]]

示例

  • split -b 60 tmpfile 按字节数分割
  • split -l 20 tmpfile 按行数分割