FG

Redirecting output twice

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

Problem

I want to redirect my output twice from a commandline For example: I want that command to also print to the screen. How can I do this?

Error Output

comp.reg $T_GDS_MASTER/bin.new $T_GDS_MASTER/bin.old > $T_GDS/log/comp.reg.out 2>&1

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Redirecting output twice

Low Risk

The command that you are looking for is . The full syntax is here.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment