Trying to get the output of a grep written into a file while having the by grep non-affected output in terminal.
Example:
command:
cat file | grep 'aaa' >> any.txt #Missing parameters here
desired output in terminal:
aaa
bbb
ccc
redirected into any.txt
aaa