3 ms·
While you are right that /dev is typically a filesystem provided by the kernel (these days, previously it was a normal "static" filesystem), bash specifically h
by znep 12y ago
While you are right that /dev is typically a filesystem provided by the kernel (these days, previously it was a normal "static" filesystem), bash specifically handles various filenames under /dev when used in redirection, including /dev/tcp and /dev/udp. See http://www.gnu.org/software/bash/manual/bashref.html#Redirections http://www.gnu.org/software/bash/manual/bashref.html#Redirec...
- JetSpiegel 12y ago$ ll /dev/tcp ls: cannot access /dev/tcp: No such file or directory That explains it, thanks.
- verbatim 12y agoTry $ ls > /dev/tcp/127.0.0.1/12345