# View the end of a file and "follow" it. This is especially useful for watching changes in a log file.
tail -f logFile.txt
# To show the last [n] lines of an logfile. Here 20 lines:
tail -n20 logfile.log
# View the end of a file, and "follow" it. If the file is replaced or truncated, follow the new file that is now pointed to by the filename
tail -F logFile.txt
# tail multiple log files
tail -f /var/log/messages /var/log/*/*.log