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:
t1
:
touch a
t2
:
tail -f a
t1
:
for i in `seq 1 10`; do echo $i >> a; sleep 1; done
Nothing in t2
! What can be the cause?
$PWD
the same in both terminals?watch -n 0.1 tail -n 50 filename.log
as a workaround