help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] redirection - stdout


From: Bill Gradwohl
Subject: Re: [Help-bash] redirection - stdout
Date: Mon, 28 May 2012 07:15:59 -0600

On Mon, May 28, 2012 at 12:50 AM, Pierre Gaston <address@hidden> wrote:

it won't close 3 why would it? When you duplicate 1 you also close 1 anyway.

you can also use the standard /dev/tty , eg 1>/dev/tty

Pierre.

Greg's wiki says it duplicates the fd and specifically says both remain open. I'll have to test this.

Now that I know what to look for '/dev/tty' I found that in Greg's wiki also.

Thank you

--
Bill Gradwohl


reply via email to

[Prev in Thread] Current Thread [Next in Thread]