cannot tail new content using tail -f file.log in terminal ubuntu, except Get-Content file.log at same time in PowerShell #5332

Open
opened 2026-01-31 00:10:47 +00:00 by claunia · 0 comments
Owner

Originally created by @yuercl on GitHub (Dec 2, 2019).

Environment

Windows Terminal version: 0.7.3291.0 . Windowns Terminal (Preview)

Steps to reproduce

  • Tab A install ubuntu, Tab B use PowerShell default.
  • Run program background at Tab A, and program will print new lines into file.log continuously.
  • Tab A tail -f file.log, will see some lines, but cannot display lines appended.
  • Tab B Get-Content file.log -Wait -Tail 10 can see new lines appended.
  • Tab B Get-Content ... and Tab A tail -f ..., tail -f can display nen lines continuously.

Expected behavior

tail -f file.log is same as pure ubuntu

Originally created by @yuercl on GitHub (Dec 2, 2019). # Environment ```none Windows Terminal version: 0.7.3291.0 . Windowns Terminal (Preview) ``` # Steps to reproduce - Tab A install ubuntu, Tab B use PowerShell default. - Run program background at Tab A, and program will print new lines into file.log continuously. - Tab A `tail -f file.log`, will see some lines, but cannot display lines appended. - Tab B `Get-Content file.log -Wait -Tail 10` can see new lines appended. - Tab B `Get-Content ...` and Tab A `tail -f ...`, tail -f can display nen lines continuously. # Expected behavior tail -f file.log is same as pure ubuntu
claunia added the Needs-Tag-Fix label 2026-01-31 00:10:47 +00:00
Sign in to join this conversation.
No Label Needs-Tag-Fix
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5332