Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-03-2014, 09:22 AM   #1
Registered: Dec 2013
Posts: 35

Rep: Reputation: Disabled
grep some content from a large file

hello all,

i'm having a lot of trouble to get this job done.
i have a large file. but i only want to grep below content from the large file :

RxDqLeft RxDqRight RxVLow RxVHigh TxDqLeft TxDqRight TxVLow TxVHigh
N1.C0.D0.R0: -16 16 -23 21 -19 19 -14 14
N1.C0.D0.R1: -17 16 -23 21 -20 20 -15 14

please help me out
Old 07-03-2014, 09:29 AM   #2
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,267

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
what have you tried and where are you stuck ? awk is probably better for multi-record searching.

try this:

Last edited by schneidz; 07-03-2014 at 11:45 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using master file for grep content keif Programming 3 05-06-2013 10:48 AM
Shell Session Crashing when cat'ing a large file, tar'ing a large file, etc. newmanium2001 Linux - General 3 12-22-2012 11:32 PM
Dansguardian content filter - no progress bar on large downloads __PJ Linux - Software 0 12-08-2009 05:50 AM
Content Filtering - using grep hiteshthappa Linux - Newbie 2 07-15-2008 05:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration