Hello people,
I have a huge file of say 1 gb called A123.txt..
to get the word count, i do
wc -l A123.txt
This gives me a count of say 122898.
Now what i do is, i divide this by 4 ie. 122888/4=30722
Now i copy the content as per the above count (30722) and give some name to each of the 4 files, since the size is too huge...
no no i dont need perl script, unix script is ok......
What i need is to automate the process...
like
1.The script will read the wc -l count and then divide it into 4 and then according to the division it will name the files accordingly.