Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
oso2k
72 days ago
|
parent
|
context
|
favorite
| on:
TIL: You can make HTTP requests without curl using...
My favorite trick with this feature is pairing it a timeout
# Connection successful: $ timeout 1 bash -c 'cat < /dev/null > /dev/tcp/google.com/80' $ echo $? 0
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: