So as I'm writing my own shell for school, I have to implement redirections.
I've looked at the GNU Bash manual, and a fair amount of tutorials, but I'm still having troubles understanding what exactly means the ampersand in these redirections.
I know when I have to use them when using simple redirections, like &>file or 2>&- but I don't get the precise meaning of it.
Could someone explain?