Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
deafpolygon
on May 27, 2025
|
parent
|
context
|
favorite
| on:
TIL: timeout in Bash scripts
curl has a timeout setting
--connect-timeout <seconds>
and retry:
--retry <num>
so you could do
curl --retry 5 --connect-timeout 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: