FG
💻 Software

What is the Windows analog of the Linux watch command?

Fresh5 days ago
Mar 15, 202693389 views
Confidence Score1%
1%

Problem

I'm looking for a Windows program/script/command line function that works like Linux's program. periodically calls another program/whatever and shows the result, which is great for refreshing an output file or similar every second: or, more powerfully: I've looked for it in cygwin's library, but it doesn't seem to be present.

Error Output

watch cat my-output.txt

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What is the Windows analog of the Linux watch command?

Low Risk

Write your own. Let's say file contains : and call it via, for example: will echo every 5 seconds.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment