last copies the last n lines of infile to outfile.
If infile has n or fewer lines, then last copies all of infile.
n must be in the range 0 .. 9999.
If you don't specify infile, last reads from standard input.
If you don't specify outfile, last writes to standard output.
If you don't specify logfile, last writes error messages to
standard error.