Risposte:
Dalla bash manpagina:
There are two formats for redirecting standard output and standard
error:
&>word
and
>&word
Of the two forms, the first is preferred. This is semantically equiva-
lent to
>word 2>&1
Leggi la redirection sectionpagina man di bash.
In bash >&worde &>word(sintassi preferita) reindirizza l'output standard e l'errore standard nella stessa posizione. Questo equivale a >word 2>&1. Cerca nel manuale di bash .
man bash dice
Esistono due formati per il reindirizzamento dell'output standard e dell'errore standard:
&> Parola
e
> & Parola
Delle due forme, la prima è preferita. Questo è semanticamente equivalente
prestato a
> parola 2> & 1
shanche dentro .