Is there a /dev directory, or how to use /dev/stderr

Igor Pechtchanski pechtcha@cs.nyu.edu
Mon Jul 12 14:08:00 GMT 2004


On Mon, 12 Jul 2004, Oliver Geisen wrote:

> Hello,
>
> i'm missing the /dev directory.

No, you're not.  Try, for example, "ls /dev/null".  See the User's Guide:
<http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN825>.

> Espacially the stdin,stdout,stderr nodes to do shell-redirection.
> Is this implementation missing or am i to blind to find it ?

/dev/std{in,out,err} are bash artifacts.  I'm guessing you're using
/bin/sh, which on Cygwin is not the same as /bin/bash (see
<http://cygwin.com/acronyms/#CYNUX>).  Either use bash, or use the
standard bourne shell syntax, e.g., <&0, >&1 and >&2.  See also
<http://cygwin.com/ml/cygwin/2003-03/msg00643.html>.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list