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

Re: /dev/tcp/ doesn't work with bash



Andreas Sliwka said on Thu, Apr 10, 2003 at 01:27:34PM +0200:
> Hi,
>   my bash ( 2.05b-7 on unstable) does not recognize the /dev/tcp
> redirect. Executing
> 	$> echo 'GET index.html' &> /dev/tcp/127.0.0.1/80 
> I get:  bash: /dev/tcp/127.0.0.1/80: File not found.
> 
> Do I have to activate it somehow? Or did I misspell it?

/dev/tcp is a bash-ism that is disabled in the Debian build of bash.

See /usr/share/doc/bash/README.Debian.gz, at the end.

M

Attachment: pgp5mnrHyGOCa.pgp
Description: PGP signature


Reply to: