DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: cut a log file

  1. #1
    Join Date
    Dec 2002
    Posts
    62

    cut a log file

    Hi All,
    I have a big log file which I cannot open in vi.
    Is there a way to cut it into small parts.

    Thanks in advance.

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    man split
    Jeff Hunter

  3. #3
    Join Date
    Feb 2001
    Location
    UAE
    Posts
    304
    Its better to take backup of log and trace files and delete them periodically.
    Agasimani
    OCP(10g/9i/8i/8)

  4. #4
    Join Date
    Apr 2001
    Location
    Czechia
    Posts
    712
    man more
    Ales
    The whole difference between a little boy and an adult man is the price of toys

  5. #5
    Join Date
    Feb 2002
    Posts
    70
    You can user TAIL command also

    tail - 100 filename (it displays from last 100 lines).

    If you want to open entire file, get it on to windows machine through FTP and open it using TEXTPAD or some editor.
    ________________
    ShanDJ

Posting Permissions

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


Click Here to Expand Forum to Full Width