Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by wolttam

1 day ago

    curl > some_file
    bash some_file

(Also, how in the world would a server be able to tell where you’re piping the response?)

Edit: thanks for the replies, that makes perfect sense

2 comments

wolttam

Reply

valleyer  1 day ago

Heuristically: https://web.archive.org/web/20250622061208/https://www.idont...

foodevl  1 day ago

Timing. A megabyte of "sleep 10;" would be read from the server more slowly when piped to bash versus written to a file

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities