Tag Archives: curl

Search Google.com from the Linux command line

You can search Google.com from the Linux command line without using a CLI web browser like lynx or Elinks. All you need is the curl and html2text packages installed. Then you issue the following command: curl -A Mozilla http://www.google.com/search?q=Linux |html2text -width 80 where you can replace Linux with another keyword of your choice. The results… Read More »

Update your Twitter status from the Linux command line

You can easily update your Twitter status from the CLI by using this one simple command: curl -u user:password -d status=”Your status message” http://twitter.com/statuses/update.xml where user is your username and password is your Twitter password entered in plaintext. Replace the text Your status message with anything you wish. If you want to pass 350-001 and… Read More »