$ tail -n+2 file1.txt

this will print full file ,, except first line,,,
so,, redirect to new file


$ tail -n+2 file1.txt > file1.txt.new

or better first move file

$ mv file1.txt file1.txt.old
$ tail -n+2 file1.txt.old > file1.txt

--~--~---------~--~----~------------~-------~--~----~
[EMAIL PROTECTED] mailing list -- group http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---

Reply via email to