2016-06-21 34 views

回答

1

如前所述here

的另一种方法是使用分裂。将文件拆分为n件和 用编辑器操作文件。之后,您再次重新组装 文件。

split -b <size of a part> <your-file> 

cat xa* > <your-file> 


SYNOPSIS 
    split [OPTION]... [INPUT [PREFIX]] 

    -a, --suffix-length=N 
      use suffixes of length N (default 2) 

    -b, --bytes=SIZE 
      put SIZE bytes per output file 

    -C, --line-bytes=SIZE 
      put at most SIZE bytes of lines per output file 

    -d, --numeric-suffixes 
      use numeric suffixes instead of alphabetic 

    -l, --lines=NUMBER 
      put NUMBER lines per output file 
+1

谢谢。这工作。我现在可以查看部分文件。 – Suhas

相关问题