Redirecting stderr
Source: https://askubuntu.com/questions/625224/how-to-redirect-stderr-to-a-file
Redirect both stdout and stderr π
NB: Only supported in some shells including bash
command &> out.txt
Redirect stderr to stdout π
command >out 2>&1
Redirect stderr to separate file π
command > out.txt 2>error.txt