Questions tagged [sh]
65 questions
2
votes
1 answer
What's the accurate meaning of "exec &>/var/log/a.log" in a shell script?
I think this is some kind of io redirect but it looks different to the examples from manual. Normally, we can redirect stdout of the script by following line:
exec 1> /var/log/a.log
But I saw this line in one of script:
exec &>…
James Gan
- 396