Tag Archives: Korn

What is 2>&1

From http://docstore.mik.ua/orelly/unix/upt/ch08_13.htm One of the common questions about the Bourne and Korn shells is why only the second command will redirect both stdout and stderr (13.1) to a file: $ cat food 2>&1 >file cat: can’t open food $ cat food >file … Continue reading

Posted in Computers | Tagged , , , , , , | Leave a comment