How can i delete first few lines from a file, without creating a temporary file.
My problem is: I have a very big file and i have to delete the first 4 lines of the file. As the file is too big i want to avoid creating a temp file.
I can do it by creating a temp file like thi
sed '1,4d' file1 > file2
mv file2 file1
But i don't want to create a temp file.