tail -f produces no output in Ubuntu live CD

For some test I start Ubuntu Live from USB.

I’m trying to use tail command to show debug log, but it doesn’t work.

I also test opening two terminals (t1, t2) with this code:


touch a 


tail -f a


for i in `seq 1 10`; do echo $i >> a; sleep 1; done

Nothing in t2! What can be the cause?

Asked By: Luca Davanzo


If it’s a case of tail not working at all, then it could be because your liveCD is using the overlayfs filesystem, which has a bug regarding notifications of modified files. You could try to move the log to another filesystem, such as /tmp if the application creating the log has an option to do so.

You could also carry out your test in /tmp instead of your homedir.

Answered By: garethTheRed
Categories: Answers Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.