delete last line



how can I delete the last line of a text file from the command line ?

I mean only last line

.