SyntaxFix
Write A Post
Hire A Developer
Questions
Use the tee command:
tee
echo "hello" | tee logfile.txt