The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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
Spliting file based on condition Raamc Shell Programming and Scripting 2 05-15-2008 08:51 AM
sorting huge file dhanamurthy Shell Programming and Scripting 3 05-13-2008 08:22 PM
compare huge file salaathi SUN Solaris 1 02-09-2008 02:33 AM
How to extract data from a huge file? srsahu75 Shell Programming and Scripting 5 01-18-2008 02:06 AM
Searching for gaps in huge (2.2G) log file? deckard Linux 3 01-11-2006 11:09 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-10-2006
Registered User
 

Join Date: Nov 2006
Posts: 17
spliting up a huge file

I have a file {filename} which contains 65000 records
I need to split into 6 smaller files roughly 11000 records each.
Can someone advise me of the Unix command to do so ?

Many thanks
Reply With Quote
Forum Sponsor
  #2  
Old 11-10-2006
Glenn Arndt's Avatar
Anomalous Lurker
 

Join Date: Feb 2006
Location: Indianapolis, IN
Posts: 255
split
Code:
split -l 11000 filename
Reply With Quote
  #3  
Old 11-10-2006
Registered User
 

Join Date: Nov 2006
Posts: 17
Thanks again Glenn
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0