Search Google from Linux command line
Nothing to say about google. You can search google for a result even from your linux command line.
curl -A Mozilla http://www.google.com/search?q=Linux |html2text -width 80
You need to install CURL and HTML2TEXT in your box.
apt-get install curl html2text (Debian / Ubuntu)
yum install curl html2text (Fedora / Centos / RHEL)
Update Twitter from a Linux Shell
curl -A Mozilla http://www.google.com/search?q=Linux |html2text -width 80
You need to install CURL and HTML2TEXT in your box.
apt-get install curl html2text (Debian / Ubuntu)
yum install curl html2text (Fedora / Centos / RHEL)
Update Twitter from a Linux Shell
Everybody knows now about TWITTER. It is a free social networking and micro-blogging service that enables its users to send and read messages known as tweets. Tweets are text-based posts of up to 140 characters displayed on the author's profile page and delivered to the author's subscribers who are known as followers. Senders can restrict delivery to those in their circle of friends or, by default, allow open access. Users can send and receive tweets via the Twitter website, Short Message Service (SMS) or external applications. While the service costs nothing to use, accessing it through SMS may incur phone service provider fees.
There is a lot of APIs available to update twitter now like TwitterFox (Firefox Addon) TweetDeck. But now how can I update twitter from my Linux terminal ? Here follows the answer. This is simple using CURL.
There is a lot of APIs available to update twitter now like TwitterFox (Firefox Addon) TweetDeck. But now how can I update twitter from my Linux terminal ? Here follows the answer. This is simple using CURL.
curl -u user:password -d status=”Your status message” http://twitter.com/statuses/update.xml
Wher user is your twitter username and password is your twitter password .
If curl is not installed do the following
apt-get install curl (Debian / Ubuntu)
yum install curl (Fedora / RHEL / Centos)
No comments:
Post a Comment