Re: /dev/tcp

Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.os.linux.misc
Organization Some absurd concept
Message-ID <[email protected]>
In comp.os.linux.misc, Lawrence DOliveiro <[email protected]> wrote:
> On Thu, 20 Aug 2026 00:59:41 -0000 (UTC), Eli the Bearded wrote:
>> This came up in the context of "how to test network on a system with
>> no root and no helpful utilities installed."
> So a version of bash that supports /dev/tcp is somehow excluded from
> that “no helpful utilities installed” assumption?

The system being tested did not have bash installed. Busybox provided
/bin/sh there.

> Sounds like a circular assumption to me, somehow. You know, where you
> phrase the requirements so the only solution is the one you already
> picked.

Maybe you can go reread that post you just replied to, with message id
<[email protected]>, and see if you can find this phrase:

   "ruled out because bash was not installed"

>> [*] knows you can use python, too, but doesn't have the code to do
>> so memorized
> Why would you need to?

It's very true that one can look things up, but also if you can do
things without looking them up, that's easier.

Elijah
------
python is a just a digression here
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.