I’ve found the following bash command in some source code.
exec 3>&1 > >(logger -t "OKOK")
What does it exactly mean?
As far as I know, it redirects those log to the syslog.
However, What is 3>&1?
I have never seen a file descriptor of 3 before.
unusual indeed, but it does exist:
Find out more on the IO redirection page.