Answers for "echo with tee command"

0

echo with tee command

echo 'foo' | tee foo.txt
foo
cat foo.txt
foo
Posted by: Guest on July-20-2021
0

echo with tee command

# append
cat foo.txt
foo
echo 'bar' | tee -a foo.txt
bar
cat foo.txt
foo
bar
Posted by: Guest on July-20-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language