perl -ne '$last=$_; END{print $last}'
Similar in spirit to tachyon's reply.
In reply to Re: Print last line in a file by perigeeV in thread Print last line in a file by dreman