![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Split large file and add header and footer to each file | ashish4422 | Shell Programming and Scripting | 1 | 04-15-2008 06:12 AM |
| Split a file with no pattern -- Split, Csplit, Awk | madhunk | UNIX for Dummies Questions & Answers | 10 | 12-17-2007 12:57 PM |
| split the file name | rinku | Shell Programming and Scripting | 1 | 05-28-2007 01:47 AM |
| Need to split the file | getdpg | Shell Programming and Scripting | 11 | 09-04-2006 03:08 AM |
| How to split file by tags inside file? | spookyrtd99 | Shell Programming and Scripting | 1 | 07-31-2006 12:50 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to split a file
Hi everyone,
please forgive my ignorance but I am trying to split a large data file into smaller manageable chunks. The file is approx 1GB in size (maybe a little more). I want to split it into 4 files exactly. I know there is a way in which to split by size but i would like to split by number i.e. i want 4 files specifically... is this possible? Thanks!! |
|
||||
|
Quote:
this told me how many rows of data there was. I then divided this number by 4 and then did split -l by that number. sorry to take up your time :S Thanks, asif. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|