(this output is with the --verbose option added to the end of the curl command) * About to connect() to stream.twitter.com port 443 (#0) * Trying 199.59.148.138... connected * Connected to stream.twitter.com (199.59.148.138) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * SSL connection using SSL_RSA_WITH_RC4_128_MD5 * Server certificate: * subject: CN=stream.twitter.com,OU=Twitter Operations,O="Twitter, Inc.",L=San Francisco,ST="California ",C=US * start date: Jul 26 00:00:00 2011 GMT * expire date: Jul 25 23:59:59 2013 GMT * common name: stream.twitter.com * issuer: CN=VeriSign Class 3 Secure Server CA - G3,OU=Terms of use at https://www.verisign.com/rpa (c)10,OU=VeriSign Trust Network,O="VeriSign, Inc.",C=US > GET /1/statuses/filter.json?follow=19258798 HTTP/1.1 > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7 > Host: stream.twitter.com > Accept: */* > Authorization: OAuth oauth_consumer_key="YuxgmmO3Ysd", oauth_nonce="28767", oauth_signature="4v0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1331680261", oauth_token="jBDQXlldo33LQNnds", oauth_version="1.0" > < HTTP/1.1 200 OK < Content-Type: application/json < Transfer-Encoding: chunked
Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?
You must be signed in to comment.
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: