logoalt Hacker News

nvme0n1p1 • yesterday at 11:12 PM • 1 reply • view on HN

Weird tangent. curl|bash doesn't work with link shorteners anyway because you need an extra flag to handle redirects.


Replies

xp84 • yesterday at 11:40 PM

Obviously should probably never use this in the |bash situation, but it's `-L` -- in general a good one to use by default unless you're only using curl to inspect redirect headers or something.