FG

tail -f not tracking file changes

Fresh3 days ago
Mar 15, 202612457 views
Confidence Score0%
0%

Problem

I was recently looking into using to monitor some text files like so: . However, when I did some testing, it doesn't seem to work. What I did was I created a new file and ran: Then, I opened the log in vim and did some editing, saved it, and it seems that tail is not "seeing" the change. The weird …

Error Output

tail -f

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: tail -f not tracking file changes

Low Risk

follows by inode. If you want to follow by name, such as when a program completely recreates the file, then use instead.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment