continuously print the last line of a file Linux termin <p>Two questions, but only stuck on one. Feel that I need the first one so someone can help me make sense of it.</p> <p>4) Use cat and /dev/null to create an empty file.</p> <p>5) Start a background process that continuously prints the last line of the file created in #4..</p> <p>So what i did for number 4 was: </p> <pre><code>cat /dev/null &gt; emptyfile </code></pre> <p>This created an empty file. Okay so I am happy with that. The next question however confuses me. How can I read the last line of an empty file? Better yet how do I continuously do this? Running it in the background isn't a problem. Anyone have any ideas? We haven't covered scripting yet so I don't think that plays a role. As always, thanks for the help.</p>