why it is 2>&1 and not 2>>&1 to append to a log file
That is, 2>&1 indicates that file descriptor #1 (which you previously opened for appending using >>logfile) is cloned into number #2. And yes, 2<&1 works identically.
What is the difference between '' 2>&1 '' and ''>''?
So does ''2>&1'' and ''>'' have the same meaning or are they different in some way? Explanations about redirections seem to revolve around the difference between what each of them
What does "2>&1" do when posted BEFORE 1>x?
I describe 2>&1 as "redirected fd2 to whatever fd1 is currently using" -- subsequently redirecting fd1 does not affect what fd2 is using.
View/Download Papua New Guinea Smart Photovoltaic Energy Storage Container 10MW [PDF]
PDF version includes complete article with source references. Suitable for printing and offline reading.
