On linux, to select the first 1000 lines of a file and write it to another file use
head -n1000 file_name > new_file_name
Thursday, March 26, 2009
Subscribe to:
Post Comments (Atom)
I'm a software developer who has been doing professional web application development with Ruby on Rails and Java. On this blog you'll find various postings about solutions I've figured out and things I've learned through my daily programming, but also various thoughts on software development in general.
No comments:
Post a Comment