The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to exclude the GREP command from GREP yamsin789 UNIX for Advanced & Expert Users 2 10-05-2007 03:59 AM
grep command naamas03 UNIX for Dummies Questions & Answers 3 09-17-2007 04:14 AM
Help need in Grep Command ranga27 Shell Programming and Scripting 4 09-16-2007 10:09 AM
grep command help malaymaru Shell Programming and Scripting 3 11-17-2005 09:23 AM
grep command help fame UNIX for Dummies Questions & Answers 2 09-01-2005 06:24 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-07-2009
asadlone asadlone is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 44
innovating with grep command

Hi,

I want to grep a particular number such as 2111111111 and then the next 4 lines to it in the file. How can i do it? or to rephrase it i want to grep 2111111111 and then grep corresponding Term. cause and Mapped error

Rt 07-01 07:16:51 100 2111111111 2222222222 22132133121231232 23312213123120 0 0 2 Delivered
07-01 10:17:18 - delivery time
Term. cause : 100 - Message Delivery Successful
Mapped error : 0 -
Local error : 0 -


Thanks...
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0