• Uncategorized

About linux : tee-command-isnt-showing-any-output-nor-writing-to-a-file

Question Detail

I am running an A.I. and trying to have the output displayed on the terminal while writing to a .csv file.

The command was something like:

$ ./run | tee rdata.csv

And nothing happened, no output from the terminal and nothing on the.csv file as well. The program itself ran without a problem. What am I missing?


Question Answer

try this command it may help you.

./run 2>&1 >> rdata.csv

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.