Trimming a file from command prompt!

I have a text file. I want the top 100 lines of this file to be deleted that too from command line using minimum command input.
Please tell!

 
sed -i '1,100 d' inputfile

If -i option doesn't work then

 
sed '1,100 d' < inputfile > temp;mv temp inputfile