Getting the last few lines of a log
# Return last 1000 lines
tail -1000 NAME.log
# Show last few lines of file and output new lines as they are appended to file -f = follow
tail -f NAME.log
Note
Change NAME
to the name of the log you want to get.
# Return last 1000 lines
tail -1000 NAME.log
# Show last few lines of file and output new lines as they are appended to file -f = follow
tail -f NAME.log
Change NAME
to the name of the log you want to get.