tail -f -n 50 log.txt loop to read the last 50 lines of the file log.txt
head -n 50 log.txt displays the first n lines of the file
tail -f -n 50 log.txt loop to read the last 50 lines of the file log.txt
head -n 50 log.txt displays the first n lines of the file