Date: Tue, 10 Jul 2001 11:18:24 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Tom St Denis cc: djgpp AT delorie DOT com Subject: Re: /dev/null In-Reply-To: <1Zs27.138149$Mf5.37520045@news3.rdc1.on.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 10 Jul 2001, Tom St Denis wrote: > > d:/> echo hi > /dev/null > > bash: /dev/null: Permission denied (EACCES) > > ******************************************** > > > > What is wrong with my /dev/null redirection? > > In DOS there is no /dev/null so use nul You will get the same result with nul (on W2K) if you use it from a DJGPP program. The above commands were typed at Bash's prompt, and Bash, being a DJGPP program, supports /dev/null (by transparently converting it to nul). For more about this and other DJGPP features, type from the DOS prompt: info know hidden features and read there.