Find the answer to your Linux question:
Results 1 to 2 of 2
I have a file which is having 10000+ lines. I want to view the file from 500th line onwards. How will i do that....
  1. #1
    Just Joined! abhinav4's Avatar
    Join Date
    Apr 2008
    Posts
    8

    How to cat from a specific line onwards

    I have a file which is having 10000+ lines. I want to view the file from 500th line onwards. How will i do that.

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    cat filename | sed '1,499d'
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

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