Using xargs and curl to request URLs from a list

Just some simple bash stuff that I keep forgetting

cat list-of-urls-without-hostnames.txt | xargs -i curl -v -L{}

where “list-of-urls-without-hostnames.txt” contains a list of URL paths, like:


Ikea Hack : Standing Desk


I often get a bad back from sitting at a computer all day, so I thought I’d try a standing desk. After 3 weeks of standing, I think I’d find it hard to go back to sitting down all day – I really enjoy working standing up.

Here what I’m using now:


Read More