I ran a deployment script to configure my server as root. Then I tried to run another script called test.sh, which had the following lines in it:
# Logging exec > >(tee -a /var/log/test_full.log) exec 2> >(tee -a /var/log/test_error.log)
However, when I try to do this, I get the following error:
test.sh: 19: test.sh: Syntax error: redirection unexpected
What could be the cause of this problem, do you think? I have not heard about this error yet.
Jimmy source share