Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Posts
    13

    Unanswered: Find word count for large files

    I have huge size of files like 565678919856 bytes in our server. I am not able to take the word count of this file using regular unix command wc -l . Do we have any oter method or command to find the word count for large files in unix.

  2. #2
    Join Date
    Jun 2007
    Location
    London
    Posts
    2,527
    Quote Originally Posted by shijoe
    I have huge size of files like 565678919856 bytes in our server. I am not able to take the word count of this file using regular unix command wc -l . Do we have any oter method or command to find the word count for large files in unix.
    Is this just one file? I only ask as the bible (itself a very large book) is roughly 5mb while your file is approx 10,000 times bigger than this. Can we ask what is in this file? I assume it's not the collected thoughts of G.W.Bush. I believe wc has an issue printing counts higher than 1000000.

  3. #3
    Join Date
    Mar 2009
    Posts
    13
    Thanks for the update. Its just the single file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •