Forrest logo
tool overview
On this page you find all important commands for the CLI tool surfraw. If the command you are looking for is missing please ask our AI.

surfraw

Surfraw is a command line tool that allows users to search the web directly from the terminal. Its name stands for "Shell Users' Revolutionary Front Rage Against the Web" and it was created by Julian Assange in 2000 before he founded WikiLeaks. Surfraw utilizes "elvi" which are short for search engine interfaces, providing users with the ability to query search engines, online dictionaries, social media platforms, news websites, and more. It supports popular search engines like Google, Bing, DuckDuckGo, and Wikipedia, as well as lesser-known engines and specialty sites. Surfraw is written in Perl and is open-source, meaning its source code is freely available for modification and distribution. It is designed to be highly configurable, allowing users to customize their search results and choose preferred options such as language, number of results, and the elvi to use. Surfraw's interface is text-based and lightweight, making it ideal for users who prefer command line interfaces or have limited system resources. It provides quick and efficient web searches without the need for opening a browser, making it a convenient tool for power users and those working in a terminal-only environment. Surfraw is available for various Linux distributions and BSD systems. Overall, Surfraw is a versatile and efficient command line tool that brings web search capabilities directly to the terminal, offering flexibility and convenience to command line enthusiasts.

List of commands for surfraw:

  • surfraw:tldr:2fd20 surfraw: Display the URL to the elvi's results page for a specific search.
    $ surfraw -print ${elvi} "${search_terms}"
    try on your machine
    explain this command
  • surfraw:tldr:7d3e9 surfraw: Display the list of supported website search scripts (elvi).
    $ surfraw -elvi
    try on your machine
    explain this command
  • surfraw:tldr:a081d surfraw: Open the elvi's results page for a specific search in the browser.
    $ surfraw ${elvi} "${search_terms}"
    try on your machine
    explain this command
  • surfraw:tldr:b70ab surfraw: Display an elvi description and its specific options.
    $ surfraw ${elvi} -local-help
    try on your machine
    explain this command
  • surfraw:tldr:d4daf surfraw: Search using an elvi with specific options and open the results page in the browser.
    $ surfraw ${elvi} ${elvi_options} "${search_terms}"
    try on your machine
    explain this command
tool overview