Re: nc missing option -z

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

 



On 15Feb2013 08:48, Cameron Simpson <cs@xxxxxxxxxx> wrote:
On 13Feb2013 16:03, Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
| I know about redirection, but was not aware that I could also open
| sockets!  Thanks a lot for the nice explanation, I'll read up more.

Unless bash has even more weirdness in it than I thought, the redirection
is probably relying on a Linuxism to open a port via a Linux specific
/dev entry. Plan 9 pioneered that mechanism. (That said, I know bash
sometimes fakes up /dev/stdin etc for platform lacking them, so maybe it
fakes /dev/tcp as well...)

I had cause to look into this the other week. This isn't a linuxism, it is entirely bash internal i.e. even Linux doesn't have /dev/tcp/... to open a TCP connection. Plan 9 does of course, allowing all programs to do this easily.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux