Quote:
Originally Posted by Yogesh Sawant
to get errors and warnings in the output file, you need to redirect them
Code:
$ locate test.txt 2>&1 | tee -a /path/to/output.txt
|
Hi Yogesh Sawant,
I got it. Thanks.
Leaving behind is how to save the command together with its output on the file.
B.R.
satimis