The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Break lines up into single lines after each space in every line lewk Shell Programming and Scripting 7 10-14-2009 10:33 AM
How to delete lines in a file that have duplicates or derive the lines that aper once necroman08 Shell Programming and Scripting 3 07-17-2009 06:07 AM
Removing empty lines(space) between two lines containing strings sudhakaryadav Shell Programming and Scripting 3 06-02-2009 11:01 AM
using AWK see the upper lines and lower lines of the strings?? thepurple Shell Programming and Scripting 3 10-07-2008 11:24 AM
How to count lines - ignoring blank lines and commented lines kthatch UNIX for Dummies Questions & Answers 6 05-25-2007 02:21 AM

 
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 4 Weeks Ago
tjmannonline tjmannonline is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 92
del 1st 2 lines

filename.txt


Code:
VOL1000499
HDR1ACHTAP           
101 031100225 0311002250911030803A094101WACHOVIA BANK OF 
5200MASTER PAY GROUP                    4231352166PPDAP PAYMENT      091026   1031100220000001
6221110000123756570069       00071351691000-     4022 FISHER HEALTHCARE       0031100220000001
6221110000123756570069       00030000001000-     4022 FISHER HEALTHCARE       0031100220000002


currently, i head -2 filename.txt, and using grep -v line1 and line2

is it a better way to del the 1st 2 lines ?

Last edited by vgersh99; 4 Weeks Ago at 01:11 PM.. Reason: code tags, please!
 

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 12:13 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