On Tue, 18 Jun 2002, Mithun Bhattacharya wrote:

> > but what 2 stand for and why &1 , why not just 1 ?
> 
> Those numbers are actually the Filehandle to use. 0 is STDIN, 1 is
> STDOUT, 2 is STDERR.

the & says that what follows is a file descriptor and not a filename.  
if you just do >1, it will write to a file named 1.

-- 
"Probably the best operating system in the world is the [operating system]
 made for the PDP-11 by Bell Laboratories." - Ted Nelson, October 1977


----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                      >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to