FG
💻 Software

Using watch with pipes

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

Problem

I'd like to run this command: But it does not run, because "I think" that the grep tries to run on the watch instead of the tail... Is there a way to do something like Thanks a lot!

Error Output

watch -n 1 tail -n 200 log/site_dev.log | grep Doctrine

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Using watch with pipes

Low Risk

Surround the command with quotes

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment