ls existing_file.txt non-existing_file.txt > output.txt 2>&1
^^ note: the 2>&1, means redirect stderr (2) to stdout(1) and since things are executed from right to left this must be declared before the "> output.txt" part
^^ note: the first >, is same as 1> which means redirect stdout (i.e. 1) to output.txt
^^^ shorthand is just: ls existing_file.txt non-existing_file.txt &> output.txt
ls existing_file.txt non-existing_file.txt > output.txt 2>&1
^^ note: the 2>&1, means redirect stderr (2) to stdout(1) and since things are executed from right to left this must be declared before the "> output.txt" part
^^ note: the first >, is same as 1> which means redirect stdout (i.e. 1) to output.txt
^^^ shorthand is just: ls existing_file.txt non-existing_file.txt &> output.txt
status | not learned | measured difficulty | 37% [default] | last interval [days] | |||
---|---|---|---|---|---|---|---|
repetition number in this series | 0 | memorised on | scheduled repetition | ||||
scheduled repetition interval | last repetition or drill |