Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2005
    Posts
    23

    Unanswered: Delete the first row from a text file

    Hi!

    I need help on this following issue: i have a big 2 GB flat text file and i want to remove only its first line.
    How can i do that ??


    Thanks in advance!

  2. #2
    Join Date
    Nov 2002
    Posts
    833
    a1.txt
    1aaaa
    2bbbb
    3cccc

    sed '1d' a1.txt > a2.txt

    a2.txt
    2bbbb
    3cccc

  3. #3
    Join Date
    Aug 2005
    Posts
    23
    thanks a lot for your help,

    chris

Posting Permissions

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