Remove first few lines of Huge file

I was need to remove first 6 lines of huge file almost 700+MB of size and I was unable to open in any editor.
Then i found following command to edit file

tail -n +7 file.txt  > file.new.txt

And after this I renamed new file as old file

About Jaffar Hussain

Jaffar Hussain is an Enthusiastic Software Engineer having vast experience in Zend, SugarCRM, Laravel php frameworks and good command on databases Mysql, MongoDB, SqlServer 2008.