Re: what is 2>&1 ? why not & only ?

From: Dancer <dancer@dont-contact.us>
Date: Mon, 08 Feb 1999 09:30:47 +1100

Evren Yurtesen wrote:
>
> hello,
> I was looking into the RunCache script and I have
> seen that 2>&1 is used for backgrounding the job
> but why not & only ?
> what is the difference?

2>&1 doesn't background a job. 2>&1 redirects output going to
file-handle 2 (stderr) to file handle 1 (stdout), so that stderr and
stdout combine into a single redirectable output stream.

D
Received on Sun Feb 07 1999 - 15:10:37 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:29 MST