4 Oct
2005
4 Oct
'05
1:25 p.m.
On 10/4/05, Chuck Anderson <cra@wpi.edu> wrote:
On Tue, Oct 04, 2005 at 05:42:01PM +0700, Aramico wrote:
I have a log with more than 200000 lines in one single file. Can I split it into several defined files as file1, file2, file3, file4, filen where I can defined it for 20000 line for each ? How can I make it ? what command in linux to make it ?
The 'split' command can do that:
split -l 20000 -d --verbose file file
Ah, much easier :-) OK, now that we know the easiest way, who can post the most obfuscated method? :-)