tee shows and writes the results at the same time.
tee
cat test.txt test # display & append string to the file echo "test1" | tee -a test.txt test1 cat test.txt test test1
Last updated 1 year ago
Was this helpful?