ALIAS

O Bash do Debian parece que não suporta /dev/tcp e /dev/udp
---

Why is bash configured with --disable-net-redirections?

       It can produce completely unexpected results. This kind of
       feature should not be part of a shell but a special. tool. And
       that tool has existed for years already, it's called netcat.

On 5/23/07, Tiago Barcellos Peczenyj <[EMAIL PROTECTED]> wrote:
> Que tal usar o /dev/tcp ?
>
>  exec 3<>/dev/tcp/www.google.com/80
>  echo -e "GET / HTTP/1.1\n\n">&3
>  cat <&3
>
> Aqui vc pode ver mais detalhes:
>
> http://tldp.org/LDP/abs/html/devref1.html
>
> ps: não sei como trabalhar com proxy, nesse caso.
>
> On 5/22/07, alisson3at110 <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> > Boa noite
> >  Estou fazendo um projeto para Faculdade, o projeto é fazer um Socket,
> >  como eu trabalho com Shell Script, gostaria de fazer esse projeto em
> >  Shell Script e não em Java, como a maioria da sala.
> >  Como eu posso fazer isso em Shell Script ?? alguem tem alguma apostila
> >  ou script pronto para mim enviar ??
> >
> >  Alisson
> >
> >                    
>
>
>
> --
> Tiago B Peczenyj
> Linux User #405772
>
> # cd /pub
> # more beer
>


-- 
Tiago B Peczenyj
Linux User #405772

# cd /pub
# more beer

Responder a