- 0 Posts
- 16 Comments
rwdf@lemmy.worldto Ask Lemmy@lemmy.world•What's the most "oof" or wtf fact you know about an everyday object?66·2 months agoChewing gum is a petroleum product.
500 meters give or take.
rwdf@lemmy.worldto Ask Lemmy@lemmy.world•Is there anywhere in the world that you visited previously that you'd like to return to if time and costs permit? Why?12·2 months agoNorthern California, but I’m not visiting the US again until there has been a revolution.
Or Portal the Australian death metal band?
rwdf@lemmy.worldto Asklemmy@lemmy.ml•What game changing item*s can you buy for $100 or less?382·3 months agoLSD
rwdf@lemmy.worldto Ask Lemmy@lemmy.world•What musicians or bands are huge in the US but not in Europe?161·6 months agoI had never heard of the (frankly horrible) band “Train” until recently.
rwdf@lemmy.worldto Linux Questions@lemmy.zip•Seeking help with a `curl` command in a bash script - SOLVEDEnglish1·9 months agoAre you trying to reach a URL on the same host you’re ssh-ing to? That would create some interesting effects.
Especially since it works the second time it could mean that the second time you’re actually on the host and ssh-ing to the host itself and then curling localhost.
rwdf@lemmy.worldto Linux Questions@lemmy.zip•Seeking help with a `curl` command in a bash script - SOLVEDEnglish1·9 months agoAh, I see.
I guess they get different contexts or something?(Edit: I re-read your post and this does not make any sense :)) What if you chain the ssh command and the curl using &&?
rwdf@lemmy.worldto Linux Questions@lemmy.zip•Seeking help with a `curl` command in a bash script - SOLVEDEnglish1·9 months agoSomeone else suggested the env vars arent being expanded correctly inside the $(curl …), which could be the culprit … If a straight up URL works that would indicate that something like that is happening.
That said, I just tried setting an env var called URL=“” and curling it, and curl said exit code 2, no URL specified, so something else is going on here.
rwdf@lemmy.worldto Linux Questions@lemmy.zip•Seeking help with a `curl` command in a bash script - SOLVEDEnglish1·9 months agoExit code 7 means curl couldn’t connect to the host, so I would try just curling a URL you know is valid directly, not setting it as an env var, to see what happens then.
rwdf@lemmy.worldto Linux Questions@lemmy.zip•Seeking help with a `curl` command in a bash script - SOLVEDEnglish1·9 months agoWhat exit code so you get from curl?
5e. Playing a halfling ranger (beastmaster) with a wolf mount. It’s pretty cool.