/dev/tcp

Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.os.linux.misc
Organization Some absurd concept
Message-ID <[email protected]>
What system(s) have /dev/tcp/* natively?

  $ man bash
  [...]
  REDIRECTION
  [...]
       Bash handles several filenames specially when they are used in
       redirections,  as described  in the  following table.   If the
       operating  system on  which  bash is  running  provides  these
       special files, bash will use them;  other wise it will emulate
       them internally with the behavior described below.
  [...]
              /dev/tcp/host/port
		  If  host  is a valid  hostname or Internet address,
		  and port is an integer port number or service name,
		  bash attempts to open the corresponding TCP socket.

I don't see it on the various systems I have handy (Debian 13, Amazon
Linux 2023, Mac OS 15.7.x, NetBSD 10.1, Android 14).

Elijah
------
is it a plan9 thing?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.