Surfraw

From ArchWiki
Revision as of 23:42, 21 June 2013 by Xorrr (Talk | contribs) ("It's Alive!")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

To install, simply run

# pacman -S surfraw

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