Deleting first two lines from a text-file

Hi,
I want to remove the first two line from a textfile. Trying with
as a shell script doesn't work. Why not?
Thanks,
Anders
I want to remove the first two line from a textfile. Trying with
- Code: Select all
sed '1,2d' "$1"
as a shell script doesn't work. Why not?
Thanks,
Anders