Using terminal to record/save a data stream

Posted by jonhurlock on Stack Overflow See other posts from Stack Overflow or by jonhurlock
Published on 2010-06-10T23:40:22Z Indexed on 2010/06/10 23:42 UTC
Read the original article Hit count: 235

Filed under:
|
|

I want to be able to save a data stream which i am returning using the curl command. I have tried using the cat command, and piping it the curl command, however i'm doing it wrong. The code im currently using is:

cat > file.txt | curl http://datastream.com/data

Any help would be appreciated.

© Stack Overflow or respective owner

Related posts about bash

Related posts about saving