Odpowiedzi:
Ze bash manstrony:
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
Przeczytaj stronę redirection sectionpodręcznika bash.
W bash >&wordi &>word(preferowana składnia) przekierowuje standardowe wyjście i standardowy błąd w to samo miejsce. Jest to równoważne z >word 2>&1. Sprawdź to w podręczniku bash .
man bash mówi
Istnieją dwa formaty przekierowywania standardowego wyjścia i standardowego błędu:
i> słowo
i
> i słowo
Spośród dwóch form preferowana jest pierwsza. Jest to semantycznie równoważne
pożyczył
> słowo 2> i 1
shteż w.