I have a command, say find . -size +10
I need to redirect the error like “permission denied” to errorlog.txt
find . -size +10 2>errorlog.txt
And to redirect the normal output to standard log file report.txt
find . -size +10 >report.txt
How to combine these two?
Like this:
or, to also see the output on screen: