Aug 10, 2010 #1 hammam02 IS-IT--Management Mar 23, 2009 27 EG hi friends i need to display file without last 6 record tail -6 XXXXXX result : display the last 6 any option catn i put it in command
hi friends i need to display file without last 6 record tail -6 XXXXXX result : display the last 6 any option catn i put it in command
Aug 10, 2010 #2 PHV MIS Nov 8, 2002 53,708 FR head -$(($(wc -l<XXXXXX)-6)) XXXXXX Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
Aug 10, 2010 Thread starter #3 hammam02 IS-IT--Management Mar 23, 2009 27 EG realy u are great man Upvote 0 Downvote
Aug 10, 2010 #4 feherke Programmer Aug 5, 2002 9,541 RO Hi Here on Tek-Tips we used to thank for the received help by giving stars. Please click the * [navy]Thank PHV for this valuable post![/navy] at the bottom of PHV's post. That way you both show your gratitude and indicate this thread as helpful. Feherke. http://free.rootshell.be/~feherke/ Upvote 0 Downvote
Hi Here on Tek-Tips we used to thank for the received help by giving stars. Please click the * [navy]Thank PHV for this valuable post![/navy] at the bottom of PHV's post. That way you both show your gratitude and indicate this thread as helpful. Feherke. http://free.rootshell.be/~feherke/
Aug 10, 2010 1 #5 stefanwagner Programmer Oct 19, 2003 2,373 DE It's head, not tail Code: head -n -6 file don't visit my homepage: http://home.arcor.de/hirnstrom/minis/index.html Upvote 0 Downvote
It's head, not tail Code: head -n -6 file don't visit my homepage: http://home.arcor.de/hirnstrom/minis/index.html
Aug 10, 2010 #6 Annihilannic MIS Jun 22, 2000 6,317 AU Unfortunately only with GNU head, Stefan. Annihilannic. Upvote 0 Downvote
Aug 11, 2010 #7 stefanwagner Programmer Oct 19, 2003 2,373 DE Yes, I forgot to mention. gnu-head. It's free. don't visit my homepage: http://home.arcor.de/hirnstrom/minis/index.html Upvote 0 Downvote
Yes, I forgot to mention. gnu-head. It's free. don't visit my homepage: http://home.arcor.de/hirnstrom/minis/index.html