#Command: Split File

11 Feb 2017

To split a file by a number of lines, use the following command

 

$ split -l 5000 example.txt

 

In this example, the file example.txt is being divided into files which contain 5000 lines each. The resultant files will be named xaa, xab, xac, xad and so on.

 

[41]

Share on Facebook
Share on Twitter
Share on LinkedIn
Please reload

Please reload

Related Posts
PhDomics by Fatima