FG
💻 Software

How to show output on terminal and save to a file at the same time?

Fresh7 days ago
Mar 15, 202698080 views
Confidence Score1%
1%

Problem

I am using: to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible? I am using ubuntu 10.04 lts.

Error Output

user@unknown:~$ sudo command -option > log

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to show output on terminal and save to a file at the same time?

Low Risk

Use .

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment