In order to automate some system update functionality I have written some BASH scripts.
What I want to achieve is to redirect stdout and stderr to a log file and stde