![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| tail command and timestamp | Begins | Shell Programming and Scripting | 6 | 04-15-2008 11:17 PM |
| Problem with Tail command --urgent pls | subbukns | Shell Programming and Scripting | 4 | 09-21-2006 08:29 AM |
| tail command | whatisthis | Shell Programming and Scripting | 3 | 03-31-2005 06:34 AM |
| help with !(tail -2) command.. using pipes | sdlayeeq | UNIX for Advanced & Expert Users | 8 | 02-17-2005 12:46 AM |
| tail command in SUN & HP_unix | clemeot | UNIX for Dummies Questions & Answers | 3 | 05-08-2002 08:31 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
tail command..
I was wondering how can I do this
I have file myfile.txt wc -l is: 5 000 000 I have to remove first 1 000 000 lines from header.. I tryed with tail -4000000 myfile.txt>newfile.txt but it does not work... any help?? |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Code:
sed -e "1,100000d" file > file.new |
|
#3
|
|||
|
|||
|
Thanks.. |
|||
| Google The UNIX and Linux Forums |