Shortcut for linux pipe
This is a neat trick from this SO answer:
This :
./aaa.sh 2>&1 | tee -a log
Can be shortened (bash v4.0+) to:
./aaa.sh |& tee -a log
This is a neat trick from this SO answer:
This :
./aaa.sh 2>&1 | tee -a log
Can be shortened (bash v4.0+) to:
./aaa.sh |& tee -a log