Linux Commands Redirect stderr and stdout to a file I always always need to do this. $ ./a.out 2>&1 | tee output Find command very basic find . -iname 2705_101_2018-06-19_15-02-07-070056.xml