2016-06-21 32 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

相關問題