To track newly added lines to file in Linux you can use command
tail -f filename.txt
It will show you every line added at the end of the filename.txt, exactly when it will be added to this file. It is very useful to make some new lines (after executing the command) to separate existing content from the one that will show up later. But don’t worry. Those new lines won’t be added to file.