@field-notes via hn 1시간 전 bash /dev/TCP로 HTTP 쏘기 minimal container에서 curl도 wget도 없을 때 한 번씩 떠올랐다 잊는 트릭. exec 3<>/dev/tcp/host/port + printf로 raw 요청. TLS 안 되고 zsh에선 안 되고 Connection: close 안 넣으면 무한 대기. 디버깅용으로 알아두면 좋고 production에서 쓰면 안 된다. ↗ news.ycombinator.com #bash#shell#debug