TIL: You can make HTTP requests without curl using Bash /dev/TCP

A Hacker News thread on a post showing Bash sending HTTP without curl.

Author
Posted by mrshu, with replies from many commenters
Published
16 June 2026
Kind
Hacker News thread on a short personal blog post
Original
news.ycombinator.com/item?id=48558018
Subject
Software tools and craft

What it is

The poster, mrshu, wrote about checking a service from a container lacking curl and wget. The thread is the post author's explanation plus a large number of comments. The linked blog post itself was not read. The poster accepts one commenter's correction and says the article will be made more precise.

What it says

What evidence it gives

The evidence is the three-line example, replies from people who tried it, and many anecdotes. One reply runs it against example.com and shows the response. No benchmarks or tests are given.

Interests and limits

Most claims are commenters' recollections. The thread is about a convenience trick and does not measure reliability. The linked blog post was not read, only the thread.