OT: tail nuance

Paul Halliday paul.halliday at gmail.com
Tue Feb 3 23:44:39 UTC 2015


I figured someone here would likely know the answer to this one.

On freebsd if I do:

~% mkdir dirA
~% tail -n0 -F dirA/afile.txt
~% echo test > dirA/afile.txt

>> test

~% mv dirA dirB
~% rm dirB/afile.txt
~% mkdir dirA
~% echo test > dirA/afile.txt

>> test

Which is what I would expect to happen. When I do the same test on a
linux box it doesn't report the last echo (or any other redirection to
the file).

What am I missing?

Thanks!

-- 
Paul Halliday
http://www.pintumbler.org/


More information about the freebsd-hackers mailing list