Re: /dev/tcp

Geoff Clare <[email protected]>
Newsgroups comp.os.linux.misc
Message-ID <[email protected]>
c186282 wrote:

> On 8/20/26 09:50, Rich wrote:
>> 
>> These are handled by Bash, they don't exist as part of the OS (system).
> 
>    Correct. I've used the /dev/tcp trick before to
>    check ports. Seems to only work with Bash. Others
>    might add it eventually, but not too likely.

According to https://mywiki.wooledge.org/BashFAQ/061 the feature was
added to bash in version 2.04 and was "Copied from / Inspired by" ksh93.

It certainly works in the versions of ksh93 I have.

-- 
Geoff Clare <[email protected]>
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.