Surfraw

From ArchWiki
Revision as of 06:31, 23 June 2013 by Kynikos (Talk | contribs) (categorize, improve style)

Jump to: navigation, search

surfraw provides a fast unix command line interface to a variety of popular WWW search engines and was created by Julian Assange.

Installation

Install surfraw from the official repositories.

Configuration

Surfraw uses the default browser to open the result. The behaviour can be customized via ~/.surfraw.conf

SURFRAW_graphical_browser=/usr/bin/chromium
#SURFRAW_text_browser=/usr/bin/elinks
SURFRAW_graphical=yes

Usage

Basic searching:

sr duckduckgo Archlinux 

There is a myriad of parameters available for e.g. amazon:

surfraw amazon -search=books -country=en -q Stanislaw Lem 

Searching the aur:

 sr aur yaourt

For a full list of web site search scripts see: List of Eliv