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

Re: Bash equivalent to DOS /p



Thomas Adam wrote:

2>  says to direct stderr
&1  means to duplicate it to stdout

There's also the important point that this does something somewhat different:-)
2>1
from
2>&1

so the result you get when doing 2>&1 is that _both_ standard output and
standard error are shown.

read this together what I wrong in another missive.

--

Cheers
John

-- spambait
1aaaaaaa@computerdatasafe.com.au  Z1aaaaaaa@computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/



Reply to: