Print the last line of the file with sed

sed -n '$p' file
$ - indicates the last line