I've recently learned about the /dev/udp
and /dev/tcp
pseudo-devices here. Are they specific to some GNU/Linux distributions or can I find them on other unix systems?
Are they standardized in some way?
So far, I've been able to use them successfuly on OS X, Arch Linux and CentOS.
Best Answer
This is a feature of the shell and not the operating system.
So, for example,on Solaris 10 with
ksh88
as the shell:However if we switch to
bash
:So
bash
interprets the/dev/tcp
but ksh88 didn't.On Solaris 11 with
ksh93
as the shell:So we can see it's very dependent on the shell in use.