What is the meaning of ">&file" in Bash? How does it differ from ">file"?
echo abc >&file
What is the meaning of ">&file" in Bash? How does it differ from ">file"?
echo abc >&file
It's a bash shortcut for > file 2>&1
So fds 1 and 2 are both redirected to the file.