![]() |
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 |
| Splitting a Larger File Into Mutiple Smaller ones. | madhubt_1982 | Shell Programming and Scripting | 1 | 03-22-2008 10:10 AM |
| Cutting a large log file in to smaller ones | MrTangent | Shell Programming and Scripting | 11 | 11-07-2007 06:55 AM |
| Splitting large files | Rvbs | Shell Programming and Scripting | 2 | 12-07-2005 08:29 AM |
| Splitting large file into small files | dncs | Shell Programming and Scripting | 4 | 06-08-2005 11:02 AM |
| Splitting a large log file | simmonet | UNIX for Dummies Questions & Answers | 8 | 09-19-2001 04:14 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
splitting the large file into smaller files
hi all
im new to this forum..excuse me if anythng wrong. I have a file containing 600 MB data in that. when i do parse the data in perl program im getting out of memory error. so iam planning to split the file into smaller files and process one by one. can any one tell me what is the code will do for spliting the bigger file. what is the better way to achieve this ? |
|
||||
|
Use Unix split command
Hi,
If you are working on Unix, then you can use unix split command. Its quick and does the split as per your requirement. Try split -b [bytes][k/m] filename where you can provide bytes in Kilobytes or Megabytes by putting k/m after the byte number. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|