populate the auth.hosts file with a list of IP addresses that are authorized to be in use and when you run this command it will return the addresses that are pingable and not in the authorized list. Can be combined with the "Command line Twitter" command to tweet unauthorized access. Show Sample Output
Tweeting from terminal to twitter accounts..
A command to post a message and an auto-shortened link to Twitter. The link shortening service is provided by TinyURL.
Same as below, but no quotes are necessary when twitting more than one word
I was using some twitter bots and twitter bloks my IP. Now im using some proxys and i use these command to validate the tweet was published.
Type the command in the terminal and press enter to create the tweet() function. Then run as follows: tweet MyTwitterAccount "My message goes here" It will prompt you for password. Make sure that you use escape "\" character in message for showing varialbles or markup.
This CLI aims at uploaded a image file (PNG, JPEG, GIF...) to the Web 2.0 Twitpic service (http://twitpic.com/). A valid Twitter account is needed. Show Sample Output
This combines @zurvollenstunde's hourly tweets and the "n minutes ago" from Twitter search. Show Sample Output
Requires ImageMagick to be installed. This command was stolen from @climagic on Twitter. Probably a duplicate of command below, but this command uses slightly higher quality. http://www.commandlinefu.com/commands/view/707/compress-images-using-convert-imagemagick-in-a-bulk
Prints top 5 twitter topics. Not very well written at all but none of the others worked.
If you're using GNIP as as data source provider for Twitter data in their "Activity Streams" format, use this search to pull out the geo coordinates from tweets as "latitude & longitude". You'll find that splunk creates a "multivalued" field out of the "geo.coordinates{}" field from a tweet. A mulitvalued field is an array, so by using "mvindex(field,position_in_array_starting_with_zero), we can create new fields on the fly for lat/lon. Show Sample Output
Get twurl: sudo gem install twurl Create a twitter app with write permissions: http://twitter.com/oauth_clients Setup twurl to do oAuth twurl authorize --consumer-key some_key_without_quotes --consumer-secret some_secret_without_quotes # goto the url you see and paste the PIN in the command line Then you can tweet the above command Using twurl to do oAuth
Reason can be: taken, available, contains_banned_word
Dump all the tweets with the keyword "obama" or "barack", in json format, to a file.
If you want you can provide the password directly on the line:
curl -s -u $USERNAME:$PASSWORD -X POST -d "track=obama,barack" https://stream.twitter.com/1.1/statuses/filter.json -o twitter-stream.out
Rainbow Stream is a smart and nice Twitter client on terminal. Almost everything you can do with a GUI application can be done, even viewing an image. - Tab-autocomplete, history browsing - Beautiful built-in themes and custom configuration support - Tweet's images directly on your terminal. Show Sample Output
https://twitter.com/westonruter/status/501855721172922369
See how many people are following you (or anyone) on Twitter.
followers cadejscroggins
Show Sample Output
The only command-line version of this task I could come up with that properly handles UTF-8 input, too. (Yes, I know how crazy it is to have UTF-8 with HTML entity escapes, but that stuff exists... sadly...; Just check Twitter.)
This will play the audio goodness posted up on PlayTweets via twitter right form the ever loving cmdline. You do not even need a twitter account. I hashed this out in a bit of a hurray as the kids need to get to sleep....I will be adding a loop based feature that will play new items as they come in...after what your are listening to is over. http://twitter.com/playTweets for more info on playtweets Show Sample Output
Easy way to find your computers IP in one place, ie, twitter It suppress the need of dyndns clients and remembering the complex names they give you. I put it inside KAlarm ( the cron GUI for KDE, ubuntu), to update my ip every 3 minutes. I did not add the cron statements to keep the code clean. Show Sample Output
Allows you to send yourself notes from the commandline and receive them via email or text message. Also lets you send pics from the web, pics from your computer, and tweets directly to twitter. All without having to log in Ever. Show Sample Output
This will send the web page at $u to recipient@example.com . To send the web page to oneself, recipient@example.com can be replaced by $(whoami) or $USER. The "charset" is UTF-8 here, but any alternative charset of your choice would work. `wget -O - -o /dev/null $u` may be considered instead of `curl $u` . On some systems the complete path to sendmail may be necessary, for instance /sys/pkg/libexec/sendmail/sendmail for some NetBSD.
replace username with the username you wish to check. Show Sample Output
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: